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. --- demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample1.php | 2 +- demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample2.php | 2 +- demos/quickstart/protected/pages/Controls/Samples/TTextBox/Home.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'demos') 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(); -- cgit v1.2.3