summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TPage.php
diff options
context:
space:
mode:
authorxue <>2006-01-31 01:30:28 +0000
committerxue <>2006-01-31 01:30:28 +0000
commit99ecc26ddd9c6f0233aff2770e82c9db80fd0b4c (patch)
tree598a306e5431e8dccf81ce6cdf812902145f22b6 /framework/Web/UI/TPage.php
parente326bab1cc979cadb01ef3e3c213838e046a42d7 (diff)
All events are now defined with public on-functions. This is to comply with the new change introduced since 5.1.
Diffstat (limited to 'framework/Web/UI/TPage.php')
-rw-r--r--framework/Web/UI/TPage.php16
1 files changed, 8 insertions, 8 deletions
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);