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/TPage.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'framework/Web/UI/TPage.php') diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php index b7c1bae6..4e23681a 100644 --- a/framework/Web/UI/TPage.php +++ b/framework/Web/UI/TPage.php @@ -391,7 +391,7 @@ class TPage extends TTemplateControl * Remember to call the parent implementation to ensure PreInit event is raised. * @param mixed event parameter */ - protected function onPreInit($param) + public function onPreInit($param) { $this->raiseEvent('OnPreInit',$this,$param); } @@ -404,7 +404,7 @@ class TPage extends TTemplateControl * Remember to call the parent implementation to ensure InitComplete event is raised. * @param mixed event parameter */ - protected function onInitComplete($param) + public function onInitComplete($param) { $this->raiseEvent('OnInitComplete',$this,$param); } @@ -417,7 +417,7 @@ class TPage extends TTemplateControl * Remember to call the parent implementation to ensure PreLoad event is raised. * @param mixed event parameter */ - protected function onPreLoad($param) + public function onPreLoad($param) { $this->raiseEvent('OnPreLoad',$this,$param); } @@ -430,7 +430,7 @@ class TPage extends TTemplateControl * Remember to call the parent implementation to ensure LoadComplete event is raised. * @param mixed event parameter */ - protected function onLoadComplete($param) + public function onLoadComplete($param) { $this->raiseEvent('OnLoadComplete',$this,$param); } @@ -443,7 +443,7 @@ class TPage extends TTemplateControl * Remember to call the parent implementation to ensure PreRenderComplete event is raised. * @param mixed event parameter */ - protected function onPreRenderComplete($param) + public function onPreRenderComplete($param) { $this->raiseEvent('OnPreRenderComplete',$this,$param); $cs=$this->getClientScript(); @@ -470,7 +470,7 @@ class TPage extends TTemplateControl * Remember to call the parent implementation to ensure SaveStateComplete event is raised. * @param mixed event parameter */ - protected function onSaveStateComplete($param) + public function onSaveStateComplete($param) { $this->raiseEvent('OnSaveStateComplete',$this,$param); } @@ -508,7 +508,7 @@ class TPage extends TTemplateControl * Parent implementation must be invoked. * @param TEventParameter event parameter */ - protected function onSaveState($param) + public function onSaveState($param) { parent::onSaveState($param); $this->setViewState('ControlsRequiringPostBack',$this->_controlsRegisteredForPostData,array()); @@ -520,7 +520,7 @@ class TPage extends TTemplateControl * Parent implementation must be invoked. * @param TEventParameter */ - protected function onLoadState($param) + public function onLoadState($param) { $this->_controlsRequiringPostData=$this->getViewState('ControlsRequiringPostBack',array()); parent::onLoadState($param); -- cgit v1.2.3