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/TFileUpload.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/Web/UI/WebControls/TFileUpload.php') diff --git a/framework/Web/UI/WebControls/TFileUpload.php b/framework/Web/UI/WebControls/TFileUpload.php index 4a3d3a08..ebb1b5ae 100644 --- a/framework/Web/UI/WebControls/TFileUpload.php +++ b/framework/Web/UI/WebControls/TFileUpload.php @@ -84,7 +84,7 @@ class TFileUpload extends TWebControl implements IPostBackDataHandler, IValidata * 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(($form=$this->getPage()->getForm())!==null) @@ -229,7 +229,7 @@ class TFileUpload extends TWebControl implements IPostBackDataHandler, IValidata * so that the event delegates can be invoked. * @param TEventParameter event parameter to be passed to the event handlers */ - protected function onFileUpload($param) + public function onFileUpload($param) { $this->raiseEvent('OnFileUpload',$this,$param); } -- cgit v1.2.3