From dc727f26dab81c6ae6d06aef6db966a991e2342b Mon Sep 17 00:00:00 2001 From: "Christophe.Boulain" <> Date: Mon, 22 Feb 2010 08:10:30 +0000 Subject: Merged /branches/3.1:r2773 into trunk --- framework/Web/UI/ActiveControls/TActiveButton.php | 12 ++++++------ framework/Web/UI/ActiveControls/TActiveControlAdapter.php | 2 +- framework/Web/UI/ActiveControls/TActiveImageButton.php | 10 +++++----- framework/Web/UI/ActiveControls/TActiveLinkButton.php | 11 ++++++----- framework/Web/UI/ActiveControls/TAutoComplete.php | 2 +- framework/Web/UI/ActiveControls/TBaseActiveControl.php | 4 ++-- framework/Web/UI/ActiveControls/TCallback.php | 14 +++++++------- framework/Web/UI/ActiveControls/TCallbackClientScript.php | 4 ++-- .../Web/UI/ActiveControls/TCallbackResponseAdapter.php | 4 ++-- framework/Web/UI/ActiveControls/TDraggable.php | 2 ++ framework/Web/UI/ActiveControls/TDropContainer.php | 7 +++++-- 11 files changed, 39 insertions(+), 33 deletions(-) (limited to 'framework/Web/UI/ActiveControls') diff --git a/framework/Web/UI/ActiveControls/TActiveButton.php b/framework/Web/UI/ActiveControls/TActiveButton.php index 0990ff41..745a472e 100644 --- a/framework/Web/UI/ActiveControls/TActiveButton.php +++ b/framework/Web/UI/ActiveControls/TActiveButton.php @@ -4,7 +4,7 @@ * * @author Wei Zhuo * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2008 PradoSoft + * @copyright Copyright © 2005-2008 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id$ * @package System.Web.UI.ActiveControls @@ -63,11 +63,11 @@ class TActiveButton extends TButton implements ICallbackEventHandler, IActiveCon } /** - * 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:: - * validate validate} method first. It will raise {@link onClick - * OnClick} event first and then the {@link onCallback OnCallback} event. + * 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::validate validate} + * method first. It will raise {@link onClick OnClick} event first + * and then the {@link onCallback OnCallback} event. * This method is mainly used by framework and control developers. * @param TCallbackEventParameter the event parameter */ diff --git a/framework/Web/UI/ActiveControls/TActiveControlAdapter.php b/framework/Web/UI/ActiveControls/TActiveControlAdapter.php index 8c6ba430..a595e823 100644 --- a/framework/Web/UI/ActiveControls/TActiveControlAdapter.php +++ b/framework/Web/UI/ActiveControls/TActiveControlAdapter.php @@ -262,7 +262,7 @@ class TCallbackPageStateTracker } /** - * @array list of viewstate and the changed data. + * @return array list of viewstate and the changed data. */ protected function getChanges() { diff --git a/framework/Web/UI/ActiveControls/TActiveImageButton.php b/framework/Web/UI/ActiveControls/TActiveImageButton.php index ee16c0d0..f8cd6e12 100644 --- a/framework/Web/UI/ActiveControls/TActiveImageButton.php +++ b/framework/Web/UI/ActiveControls/TActiveImageButton.php @@ -100,11 +100,11 @@ class TActiveImageButton extends TImageButton implements IActiveControl, ICallba } /** - * 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:: - * validate validate} method first. It will raise {@link onClick - * OnClick} event first and then the {@link onCallback OnCallback} event. + * Raises the callback event. This method is required by + * {@link ICallbackEventHandler ICallbackEventHandler} interface. If + * {@link getCausesValidation CausesValidation} is true, it will invoke the page's + * {@link TPage::validate} method first. It will raise + * {@link onClick OnClick} event first and then the {@link onCallback OnCallback} event. * This method is mainly used by framework and control developers. * @param TCallbackEventParameter the event parameter */ diff --git a/framework/Web/UI/ActiveControls/TActiveLinkButton.php b/framework/Web/UI/ActiveControls/TActiveLinkButton.php index f1551b40..e784c270 100644 --- a/framework/Web/UI/ActiveControls/TActiveLinkButton.php +++ b/framework/Web/UI/ActiveControls/TActiveLinkButton.php @@ -63,11 +63,12 @@ class TActiveLinkButton extends TLinkButton implements IActiveControl, ICallback } /** - * 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:: - * validate validate} method first. It will raise {@link onClick - * OnClick} event first and then the {@link onCallback OnCallback} event. + * Raises the callback event. This method is required by + * {@link ICallbackEventHandlerICallbackEventHandler} interface. If + * {@link getCausesValidation CausesValidation} is true, it will + * invoke the page's {@link TPage::validate validate} method first. It will raise + * {@link onClick OnClick} event first and then the {@link onCallback OnCallback} + * event. * This method is mainly used by framework and control developers. * @param TCallbackEventParameter the event parameter */ diff --git a/framework/Web/UI/ActiveControls/TAutoComplete.php b/framework/Web/UI/ActiveControls/TAutoComplete.php index 13200e51..2ae01d2b 100644 --- a/framework/Web/UI/ActiveControls/TAutoComplete.php +++ b/framework/Web/UI/ActiveControls/TAutoComplete.php @@ -392,7 +392,7 @@ class TAutoCompleteEventParameter extends TCallbackEventParameter } /** - * @int selected suggestion zero-based index, -1 if not selected. + * @return int selected suggestion zero-based index, -1 if not selected. */ public function getSelectedIndex() { diff --git a/framework/Web/UI/ActiveControls/TBaseActiveControl.php b/framework/Web/UI/ActiveControls/TBaseActiveControl.php index f301f2c3..92dd3194 100644 --- a/framework/Web/UI/ActiveControls/TBaseActiveControl.php +++ b/framework/Web/UI/ActiveControls/TBaseActiveControl.php @@ -30,11 +30,11 @@ Prado::using('System.Web.UI.ActiveControls.TCallbackClientSide'); class TBaseActiveControl extends TComponent { /** - * @TMap map of active control options. + * @var TMap map of active control options. */ private $_options; /** - * @TControl attached control. + * @var TControl attached control. */ private $_control; diff --git a/framework/Web/UI/ActiveControls/TCallback.php b/framework/Web/UI/ActiveControls/TCallback.php index c1559c1f..7eba46db 100644 --- a/framework/Web/UI/ActiveControls/TCallback.php +++ b/framework/Web/UI/ActiveControls/TCallback.php @@ -4,7 +4,7 @@ * * @author Wei Zhuo * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2008 PradoSoft + * @copyright Copyright © 2005-2008 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id$ * @package System.Web.UI.ActiveControls @@ -71,12 +71,12 @@ class TCallback extends TControl implements ICallbackEventHandler, IActiveContro } /** - * Raises the callback event. This method is required by {@link - * ICallbackEventHandler} interface. If {@link getCausesValidation - * 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. + * Raises the callback event. This method is required by + * {@link ICallbackEventHandler ICallbackEventHandler} interface. If + * {@link getCausesValidation 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. * @param TCallbackEventParameter the event parameter */ public function raiseCallbackEvent($param) diff --git a/framework/Web/UI/ActiveControls/TCallbackClientScript.php b/framework/Web/UI/ActiveControls/TCallbackClientScript.php index 062f63dc..8fbdd864 100644 --- a/framework/Web/UI/ActiveControls/TCallbackClientScript.php +++ b/framework/Web/UI/ActiveControls/TCallbackClientScript.php @@ -126,8 +126,8 @@ class TCallbackClientScript extends TApplicationComponent } /** - * Client script to click on an element. This client-side function - * is unpredictable. + * Client script to click on an element. This client-side function is unpredictable. + * * @param TControl control element or element id */ public function click($control) diff --git a/framework/Web/UI/ActiveControls/TCallbackResponseAdapter.php b/framework/Web/UI/ActiveControls/TCallbackResponseAdapter.php index 0f2f4ba3..6425b123 100755 --- a/framework/Web/UI/ActiveControls/TCallbackResponseAdapter.php +++ b/framework/Web/UI/ActiveControls/TCallbackResponseAdapter.php @@ -29,11 +29,11 @@ class TCallbackResponseAdapter extends THttpResponseAdapter { /** - * @TCallbackResponseWriter[] list of writers. + * @var TCallbackResponseWriter[] list of writers. */ private $_writers=array(); /** - * @mixed callback response data. + * @var mixed callback response data. */ private $_data; diff --git a/framework/Web/UI/ActiveControls/TDraggable.php b/framework/Web/UI/ActiveControls/TDraggable.php index 8bf9243b..84db0c82 100755 --- a/framework/Web/UI/ActiveControls/TDraggable.php +++ b/framework/Web/UI/ActiveControls/TDraggable.php @@ -5,6 +5,7 @@ * @author Christophe BOULAIN (Christophe.Boulain@gmail.com) * @copyright Copyright © 2008, PradoSoft * @license http://www.pradosoft.com/license + * @package System.Web.UI.ActiveControls * @version $Id$ * @package System.Web.UI.ActiveControls */ @@ -25,6 +26,7 @@ * @author Christophe BOULAIN (Christophe.Boulain@gmail.com) * @copyright Copyright © 2008, PradoSoft * @license http://www.pradosoft.com/license + * @package System.Web.UI.ActiveControls * @version $Id$ * @package System.Web.UI.ActiveControls */ diff --git a/framework/Web/UI/ActiveControls/TDropContainer.php b/framework/Web/UI/ActiveControls/TDropContainer.php index 9c2e1dd5..cb0c4cc1 100755 --- a/framework/Web/UI/ActiveControls/TDropContainer.php +++ b/framework/Web/UI/ActiveControls/TDropContainer.php @@ -6,6 +6,7 @@ * @copyright Copyright © 2008, PradoSoft * @license http://www.pradosoft.com/license * @version $Id$ + * @package System.Web.UI.ActiveControls */ /** @@ -38,6 +39,7 @@ Prado::using('System.Web.UI.ActiveControls.TActivePanel'); * @copyright Copyright © 2008, PradoSoft * @license http://www.pradosoft.com/license * @version $Id$ + * @package System.Web.UI.ActiveControls */ class TDropContainer extends TPanel implements IActiveControl, ICallbackEventHandler { @@ -124,7 +126,7 @@ class TDropContainer extends TPanel implements IActiveControl, ICallbackEventHan /** * Raises the onDrop event. - * The dropp parameters are encapsulated into a {@link TDropContainerEventParameter} + * The drop parameters are encapsulated into a {@link TDropContainerEventParameter} * * @param object $dropControlId */ @@ -246,6 +248,7 @@ class TDropContainer extends TPanel implements IActiveControl, ICallbackEventHan * @copyright Copyright © 2008, PradoSoft * @license http://www.pradosoft.com/license * @version $Id$ + * @package System.Web.UI.ActiveControls */ class TDropContainerEventParameter extends TEventParameter { @@ -305,4 +308,4 @@ class TDropContainerEventParameter extends TEventParameter return $control; } } -?> \ No newline at end of file +?> -- cgit v1.2.3