/** * 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)); }
/** * Constructor. * Sets default width and height. */ public function __construct() { parent::__construct(); $this->setWidth('470px'); $this->setHeight('250px'); }