Ejemplo n.º 1
0
 /**
  * Creates a new callback control, sets the adapter to
  * TActiveControlAdapter. If you override this class, be sure to set the
  * adapter appropriately by, for example, by calling this constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->setAdapter(new TActiveControlAdapter($this));
 }
Ejemplo n.º 2
0
 /**
  * Constructor.
  * This method sets the foreground color to red.
  */
 public function __construct()
 {
     parent::__construct();
     $this->setForeColor('red');
 }