From 99ecc26ddd9c6f0233aff2770e82c9db80fd0b4c Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 31 Jan 2006 01:30:28 +0000 Subject: All events are now defined with public on-functions. This is to comply with the new change introduced since 5.1. --- framework/Web/UI/WebControls/TListControl.php | 4 ++-- 1 file changed, 2 insertions(+), 2 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 8d2959b4..cf254bad 100644 --- a/framework/Web/UI/WebControls/TListControl.php +++ b/framework/Web/UI/WebControls/TListControl.php @@ -192,7 +192,7 @@ abstract class TListControl extends TDataBoundControl * This method is invoked right before control state is to be saved. * @param mixed event parameter */ - protected function onSaveState($param) + public function onSaveState($param) { if($this->_items) $this->setViewState('Items',$this->_items->saveState(),null); @@ -205,7 +205,7 @@ abstract class TListControl extends TDataBoundControl * This method is invoked right after control state is loaded. * @param mixed event parameter */ - protected function onLoadState($param) + public function onLoadState($param) { $this->_loadedFromState=true; if(!$this->getIsDataBound()) -- cgit v1.2.3