onPreRender() публичный Метод

Publish the default stylesheet file.
public onPreRender ( $param )
Пример #1
0
 /**
  * Copy basic record details to the list/edit/search controls.
  */
 public function onPreRender($param)
 {
     parent::onPreRender($param);
     $this->getListView()->copyFrom($this);
     $this->getEditView()->copyFrom($this);
     $this->getSearchControl()->copyFrom($this);
 }
Пример #2
0
 /**
  * Loads and display the data.
  */
 public function onPreRender($param)
 {
     parent::onPreRender($param);
     if (!$this->getPage()->getIsPostBack() || $this->getViewState('CurrentClass') != $this->getRecordClass()) {
         $this->initializeSort();
         $this->setViewState('CurrentClass', $this->getRecordClass());
     }
     $this->loadRecordData();
 }