From 81d3bc50d96a11bd411f8f0fa5831a85228ffe4e Mon Sep 17 00:00:00 2001 From: xue <> Date: Thu, 2 Feb 2006 23:53:32 +0000 Subject: Modified onSaveState to saveState, and onLoadState to loadState. --- framework/Web/UI/WebControls/TListControl.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'framework/Web/UI/WebControls/TListControl.php') diff --git a/framework/Web/UI/WebControls/TListControl.php b/framework/Web/UI/WebControls/TListControl.php index 2b40bfa8..169cc72c 100644 --- a/framework/Web/UI/WebControls/TListControl.php +++ b/framework/Web/UI/WebControls/TListControl.php @@ -177,10 +177,10 @@ abstract class TListControl extends TDataBoundControl /** * Saves items into viewstate. * This method is invoked right before control state is to be saved. - * @param mixed event parameter */ - public function onSaveState($param) + public function saveState() { + parent::saveState(); if($this->_items) $this->setViewState('Items',$this->_items->saveState(),null); else @@ -190,10 +190,10 @@ abstract class TListControl extends TDataBoundControl /** * Loads items from viewstate. * This method is invoked right after control state is loaded. - * @param mixed event parameter */ - public function onLoadState($param) + public function loadState() { + parent::loadState(); $this->_loadedFromState=true; if(!$this->getIsDataBound()) { -- cgit v1.2.3