summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected
diff options
context:
space:
mode:
authorxue <>2006-01-31 01:30:28 +0000
committerxue <>2006-01-31 01:30:28 +0000
commit99ecc26ddd9c6f0233aff2770e82c9db80fd0b4c (patch)
tree598a306e5431e8dccf81ce6cdf812902145f22b6 /demos/quickstart/protected
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 'demos/quickstart/protected')
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample1.php2
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample2.php2
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample1.php b/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample1.php
index c88b8d9a..905a3b8d 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample1.php
+++ b/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample1.php
@@ -27,7 +27,7 @@ class Sample1 extends TPage
);
}
- protected function onLoad($param)
+ public function onLoad($param)
{
parent::onLoad($param);
if(!$this->IsPostBack)
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample2.php b/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample2.php
index 59d01f57..a46a3327 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample2.php
+++ b/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample2.php
@@ -32,7 +32,7 @@ class Sample2 extends TPage
return $data[$region];
}
- protected function onLoad($param)
+ public function onLoad($param)
{
parent::onLoad($param);
if(!$this->IsPostBack)
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.php b/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.php
index 30add74c..f8aa0825 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.php
+++ b/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.php
@@ -2,7 +2,7 @@
class Home extends TPage
{
- protected function onLoad($param)
+ public function onLoad($param)
{
parent::onLoad($param);
$this->Output->dataBind();