コード例 #1
0
 /**
  * Loads items from viewstate.
  * This method overrides the parent implementation by loading list items
  * @param mixed state values
  */
 public function loadState($state)
 {
     parent::loadState($state);
     $this->_stateLoaded = true;
     if (!$this->_dataBound) {
         $this->_listControl->getItems()->loadState($this->getViewState('Items', null));
     }
 }