From 887da1b3668499821f046665b461aeadb0a9fb2e Mon Sep 17 00:00:00 2001 From: wei <> Date: Sun, 27 Aug 2006 04:18:31 +0000 Subject: Adding TActiveImage and TActiveImageButton --- framework/Web/UI/ActiveControls/TCallback.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'framework/Web/UI/ActiveControls/TCallback.php') diff --git a/framework/Web/UI/ActiveControls/TCallback.php b/framework/Web/UI/ActiveControls/TCallback.php index e87cea11..22d6a01e 100644 --- a/framework/Web/UI/ActiveControls/TCallback.php +++ b/framework/Web/UI/ActiveControls/TCallback.php @@ -20,9 +20,9 @@ Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); * * The TCallback provides a basic callback handler that can be invoke from the * client side by running the javascript code obtained from the - * {@link TBaseActiveCallbackControl::getJavascript ActiveControl.Javascript} property. + * {@link TBaseActiveCallbackControl::getJavascript ActiveControl.Javascript} property. * The event {@link onCallback OnCallback} is raise when a callback is requested made. - * + * * Example usage: * * @@ -38,10 +38,10 @@ Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); * @author Wei Zhuo * @version $Revision: $ $Date: $ * @package System.Web.UI.ActiveControls - * @since 3.0 + * @since 3.1 */ class TCallback extends TControl implements ICallbackEventHandler, IActiveControl -{ +{ /** * Creates a new callback control, sets the adapter to * TActiveControlAdapter. If you override this class, be sure to set the @@ -60,7 +60,7 @@ class TCallback extends TControl implements ICallbackEventHandler, IActiveContro { return $this->getAdapter()->getBaseActiveControl(); } - + /** * Raises the callback event. This method is required by {@link * ICallbackEventHandler} interface. If {@link getCausesValidation @@ -69,25 +69,25 @@ class TCallback extends TControl implements ICallbackEventHandler, IActiveContro * OnCallback} event. This method is mainly used by framework and control * developers. * @param TCallbackEventParameter the event parameter - */ + */ public function raiseCallbackEvent($param) { if($this->getActiveControl()->canCauseValidation()) $this->getPage()->validate($this->getActiveControl()->getValidationGroup()); $this->onCallback($param); } - + /** * This method is invoked when a callback is requested. The method raises * 'OnCallback' event to fire up the event handlers. If you override this * method, be sure to call the parent implementation so that the event * handler can be invoked. * @param TCallbackEventParameter event parameter to be passed to the event handlers - */ + */ public function onCallback($param) { $this->raiseEvent('OnCallback', $this, $param); } -} +} ?> \ No newline at end of file -- cgit v1.2.3