summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TFileUpload.php
diff options
context:
space:
mode:
authorxue <>2006-01-31 01:30:28 +0000
committerxue <>2006-01-31 01:30:28 +0000
commit99ecc26ddd9c6f0233aff2770e82c9db80fd0b4c (patch)
tree598a306e5431e8dccf81ce6cdf812902145f22b6 /framework/Web/UI/WebControls/TFileUpload.php
parente326bab1cc979cadb01ef3e3c213838e046a42d7 (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 'framework/Web/UI/WebControls/TFileUpload.php')
-rw-r--r--framework/Web/UI/WebControls/TFileUpload.php4
1 files changed, 2 insertions, 2 deletions
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);
}