/** * Class Constructor * @param $width Panel width * @param $height Panel height */ public function __construct($width, $height) { parent::__construct($width, $height); $this->fields = array(); $this->actions = array(); $this->fieldsByName = array(); }
/** * 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. * @param TDataGrid datagrid object */ public function __construct($dataGrid) { parent::__construct(); $this->_dataGrid = $dataGrid; }