Phundament-Components
[ class tree: Phundament-Components ] [ index: Phundament-Components ] [ all elements ]

Source for file LPoweredBy.php

Documentation is available at LPoweredBy.php

  1. <?php
  2.  
  3.  
  4. /**
  5.  * class file.
  6.  *
  7.  * @license http://opensource.org/licenses/mozilla1.1.php Mozilla Public License
  8.  * @copyright 2005, diemeisterei GmbH. All rights reserved.
  9.  * @author $Author: tobias $
  10.  * @version $Revision: 1.5 $  $Date: 2006/01/03 19:08:05 $
  11.  * @package Phundament.Components
  12.  * @subpackage WebControls
  13.  */
  14.  
  15. /**
  16.  *
  17.  * @package System.Web.UI.WebControls
  18.  * @subpackage Common
  19.  */
  20.  
  21. class LPoweredBy extends TTemplateControl
  22. {
  23.     function setSize($value)
  24.     {
  25.         $this->setViewState("Size"$value);
  26.     }
  27.     function getSize()
  28.     {
  29.         return $this->getViewState("Size""Small");
  30.     }
  31.     function onLoad($param)
  32.     {
  33.         parent :: onLoad($param);
  34.         if ($this->getSize(== "Large")
  35.         {
  36.             $this->Small->setVisible(false);
  37.         }
  38.         else
  39.         {
  40.             $this->Large->setVisible(false);
  41.         }
  42.  
  43.     }
  44. }
  45. ?>

Documentation generated on Sun, 25 Feb 2007 16:11:34 +0100 by phpDocumentor 1.3.1