summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/controls/RunBar.php
diff options
context:
space:
mode:
authorxue <>2006-01-31 01:32:08 +0000
committerxue <>2006-01-31 01:32:08 +0000
commit328d05bb0cd1d9263ecd4fe1902c4f235f166776 (patch)
tree4806f5151aa4869a09a538f31f8727c28ac8cc0d /demos/quickstart/protected/controls/RunBar.php
parent99ecc26ddd9c6f0233aff2770e82c9db80fd0b4c (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/controls/RunBar.php')
-rw-r--r--demos/quickstart/protected/controls/RunBar.php2
1 files changed, 1 insertions, 1 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";