diff options
-rw-r--r-- | demos/quickstart/protected/controls/RunBar.php | 2 | ||||
-rw-r--r-- | demos/quickstart/protected/pages/Advanced/Samples/I18N/Home.php | 2 |
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;
|