Esempio n. 1
0
 /**
  * Creates child control
  * Override parent implementation to create a container which will contain all
  * child controls. This container will be a TActivePanel, in order to allow user
  * to update its content on callback.
  */
 public function createChildControls()
 {
     if ($this->_container === null) {
         $this->_container = new TActivePanel();
         $this->_container->setId($this->getId(false) . '_content');
         parent::getControls()->add($this->_container);
     }
 }