_getZappableSleepProps() защищенный Метод

Reimplement in derived classes to add new variables, but remember to also to call the parent implementation first.
protected _getZappableSleepProps ( &$exprops )
Пример #1
0
 /**
  * Returns an array with the names of all variables of this object that should NOT be serialized
  * because their value is the default one or useless to be cached for the next page loads.
  * Reimplement in derived classes to add new variables, but remember to  also to call the parent
  * implementation first.
  */
 protected function _getZappableSleepProps(&$exprops)
 {
     parent::_getZappableSleepProps($exprops);
     if ($this->_mode === null) {
         $exprops[] = "TDataGridPagerStyle_mode";
     }
     if ($this->_nextText === null) {
         $exprops[] = "TDataGridPagerStyle_nextText";
     }
     if ($this->_prevText === null) {
         $exprops[] = "TDataGridPagerStyle_prevText";
     }
     if ($this->_firstText === null) {
         $exprops[] = "TDataGridPagerStyle_firstText";
     }
     if ($this->_lastText === null) {
         $exprops[] = "TDataGridPagerStyle_lastText";
     }
     if ($this->_buttonCount === null) {
         $exprops[] = "TDataGridPagerStyle_buttonCount";
     }
     if ($this->_position === null) {
         $exprops[] = "TDataGridPagerStyle_position";
     }
     if ($this->_visible === null) {
         $exprops[] = "TDataGridPagerStyle_visible";
     }
     if ($this->_buttonType === null) {
         $exprops[] = "TDataGridPagerStyle_buttonType";
     }
 }