From 67e09d150afe55d7a956beb299dc0534f7da68eb Mon Sep 17 00:00:00 2001 From: wei <> Date: Thu, 15 Jun 2006 00:56:57 +0000 Subject: Update active controls. Add comments. Add THttpResponseAdapter --- framework/Web/UI/ActiveControls/TCallback.php | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 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 681093ee..c42b2cd7 100644 --- a/framework/Web/UI/ActiveControls/TCallback.php +++ b/framework/Web/UI/ActiveControls/TCallback.php @@ -15,9 +15,20 @@ * * The TCallback provides a basic callback handler that can be invoke from the * client side by running the javascript code obtained from the - * {@link getCallbackReference CallbackReference} property. The event {@link - * onCallback OnCallback} is raise when a callback is requested by the TCallback - * component. + * {@link TBaseActiveCallbackControl::getJavascript ActiveControl.Javascript} property. + * The event {@link onCallback OnCallback} is raise when a callback is requested made. + * + * Example usage: + * + * + * + *
Click Me!
+ *
* * @author Wei Zhuo * @version $Revision: $ $Date: $ @@ -38,17 +49,17 @@ class TCallback extends TControl implements ICallbackEventHandler } /** - * @return TBaseActiveCallbackControl base callback options. + * @return TBaseActiveCallbackControl standard callback options. */ public function getActiveControl() { - return $this->getAdapter()->getActiveControl(); + return $this->getAdapter()->getBaseActiveControl(); } /** * Raises the callback event. This method is required by {@link * ICallbackEventHandler} interface. If {@link getCausesValidation - * CausesValidation} is true, it will invoke the page's {@link TPage:: + * ActiveControl.CausesValidation} is true, it will invoke the page's {@link TPage:: * validate validate} method first. It will raise {@link onCallback * OnCallback} event. This method is mainly used by framework and control * developers. -- cgit v1.2.3