From 328d05bb0cd1d9263ecd4fe1902c4f235f166776 Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 31 Jan 2006 01:32:08 +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/controls/RunBar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/quickstart/protected/controls') 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"; -- cgit v1.2.3