summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2006-01-31 01:32:08 +0000
committerxue <>2006-01-31 01:32:08 +0000
commit328d05bb0cd1d9263ecd4fe1902c4f235f166776 (patch)
tree4806f5151aa4869a09a538f31f8727c28ac8cc0d
parent99ecc26ddd9c6f0233aff2770e82c9db80fd0b4c (diff)
All events are now defined with public on-functions. This is to comply with the new change introduced since 5.1.
-rw-r--r--demos/quickstart/protected/controls/RunBar.php2
-rw-r--r--demos/quickstart/protected/pages/Advanced/Samples/I18N/Home.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/quickstart/protected/controls/RunBar.php b/demos/quickstart/protected/controls/RunBar.php
index 0d20e0d4..8990c4c3 100644
--- a/demos/quickstart/protected/controls/RunBar.php
+++ b/demos/quickstart/protected/controls/RunBar.php
@@ -12,7 +12,7 @@ class RunBar extends TTemplateControl
$this->setViewState('PagePath',$value,'');
}
- protected function onPreRender($param)
+ public function onPreRender($param)
{
$pagePath=$this->getPagePath();
$this->RunButton->NavigateUrl="?page=$pagePath";
diff --git a/demos/quickstart/protected/pages/Advanced/Samples/I18N/Home.php b/demos/quickstart/protected/pages/Advanced/Samples/I18N/Home.php
index 6966a4cd..d9a261d6 100644
--- a/demos/quickstart/protected/pages/Advanced/Samples/I18N/Home.php
+++ b/demos/quickstart/protected/pages/Advanced/Samples/I18N/Home.php
@@ -17,7 +17,7 @@ class Home extends TPage
* Initialize the page with some arbituary data.
* @param TEventParameter event parameter.
*/
- protected function onLoad($param)
+ public function onLoad($param)
{
parent::onLoad($param);
$time1 = $this->Time1;