/** * Loads viewstate into this control and its children. * This method is overriden to load the items data from view state, * as well as the mapping between indexes and text/value pairs for * the list items. * @param array viewstate to be loaded */ public function loadViewState($viewState) { parent::loadViewState($viewState); $this->items = $this->getViewState('Items', new TCollection()); }