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. --- framework/Web/UI/WebControls/TCheckBox.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/Web/UI/WebControls/TCheckBox.php') diff --git a/framework/Web/UI/WebControls/TCheckBox.php b/framework/Web/UI/WebControls/TCheckBox.php index 5d3779b9..0a628674 100644 --- a/framework/Web/UI/WebControls/TCheckBox.php +++ b/framework/Web/UI/WebControls/TCheckBox.php @@ -87,7 +87,7 @@ class TCheckBox extends TWebControl implements IPostBackDataHandler, IValidatabl * so that the event delegates can be invoked. * @param TEventParameter event parameter to be passed to the event handlers */ - protected function onCheckedChanged($param) + public function onCheckedChanged($param) { $this->raiseEvent('OnCheckedChanged',$this,$param); } @@ -100,7 +100,7 @@ class TCheckBox extends TWebControl implements IPostBackDataHandler, IValidatabl * This method overrides the parent implementation and is invoked before render. * @param mixed event parameter */ - protected function onPreRender($param) + public function onPreRender($param) { parent::onPreRender($param); if($this->getEnabled(true)) -- cgit v1.2.3