summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TFileUpload.php
diff options
context:
space:
mode:
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);
}