From 3fcf847e0cadfb9ede930f538c2f277483442175 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 21 Jan 2006 17:29:40 +0000 Subject: BE AWARE: Significant change! Changed event definition from XXX to OnXXX. --- framework/Web/UI/WebControls/TFileUpload.php | 6 +++--- 1 file changed, 3 insertions(+), 3 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 ba47f4d9..4a3d3a08 100644 --- a/framework/Web/UI/WebControls/TFileUpload.php +++ b/framework/Web/UI/WebControls/TFileUpload.php @@ -23,7 +23,7 @@ * file size information. If the upload is not successful, {@link getErrorCode ErrorCode} * contains the error code describing the cause of failure. * - * TFileUpload raises {@link onFileUpload FileUpload} event if a file is uploaded + * TFileUpload raises {@link onFileUpload OnFileUpload} event if a file is uploaded * (whether it succeeds or not). * * @author Marcus Nyeholt , Qiang Xue @@ -224,14 +224,14 @@ class TFileUpload extends TWebControl implements IPostBackDataHandler, IValidata /** * This method is invoked when a file is uploaded during a postback. - * The method raises FileUpload event to fire up the event handler. + * The method raises OnFileUpload event to fire up the event handler. * If you override this method, be sure to call the parent implementation * so that the event delegates can be invoked. * @param TEventParameter event parameter to be passed to the event handlers */ protected function onFileUpload($param) { - $this->raiseEvent('FileUpload',$this,$param); + $this->raiseEvent('OnFileUpload',$this,$param); } /** -- cgit v1.2.3