From 2be7a27c5126855fac8d0c6f48c72066b8f87705 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Sun, 6 Mar 2016 19:48:47 +0100 Subject: Add some deprecation notices --- framework/Web/UI/ActiveControls/TAutoComplete.php | 4 ++++ framework/Web/UI/ActiveControls/TDraggable.php | 4 ++++ framework/Web/UI/ActiveControls/TDropContainer.php | 5 +++++ 3 files changed, 13 insertions(+) (limited to 'framework/Web/UI/ActiveControls') diff --git a/framework/Web/UI/ActiveControls/TAutoComplete.php b/framework/Web/UI/ActiveControls/TAutoComplete.php index e396e114..e80d587e 100644 --- a/framework/Web/UI/ActiveControls/TAutoComplete.php +++ b/framework/Web/UI/ActiveControls/TAutoComplete.php @@ -18,6 +18,9 @@ Prado::using('System.Web.UI.ActiveControls.TCallbackEventParameter'); /** * TAutoComplete class. * + * Warning: this class is deprecatd and will be removed in a future release. + * We suggest you to investigate using {@link TJuiAutoComplete} instead. + * * TAutoComplete is a textbox that provides a list of suggestion on * the current partial word typed in the textbox. The suggestions are * requested using callbacks, and raises the {@link onSuggestion OnSuggestion} @@ -78,6 +81,7 @@ Prado::using('System.Web.UI.ActiveControls.TCallbackEventParameter'); * @author Wei Zhuo * @package System.Web.UI.ActiveControls * @since 3.1 + * @deprecated Use TJuiAutoComplete instead */ class TAutoComplete extends TActiveTextBox implements INamingContainer { diff --git a/framework/Web/UI/ActiveControls/TDraggable.php b/framework/Web/UI/ActiveControls/TDraggable.php index 3f6008bc..830200e3 100755 --- a/framework/Web/UI/ActiveControls/TDraggable.php +++ b/framework/Web/UI/ActiveControls/TDraggable.php @@ -11,6 +11,9 @@ /** * TDraggable is a control which can be dragged * + * Warning: this class is deprecatd and will be removed in a future release. + * We suggest you to investigate using {@link TJuiDraggable} instead. + * * This control will make "draggable" control. * Properties : * @@ -25,6 +28,7 @@ * @copyright Copyright © 2008, PradoSoft * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT * @package System.Web.UI.ActiveControls + * @deprecated Use TJuiDraggable instead */ class TDraggable extends TPanel { diff --git a/framework/Web/UI/ActiveControls/TDropContainer.php b/framework/Web/UI/ActiveControls/TDropContainer.php index 49eb0db6..216d3dba 100755 --- a/framework/Web/UI/ActiveControls/TDropContainer.php +++ b/framework/Web/UI/ActiveControls/TDropContainer.php @@ -21,6 +21,10 @@ Prado::using('System.Web.UI.ActiveControls.TActivePanel'); /** * TDropContainer is a panel where TDraggable controls can be dropped. + * + * Warning: this class is deprecatd and will be removed in a future release. + * We suggest you to investigate using {@link TJuiDroppable} instead. + * * When a TDraggable component is dropped into a TDropContainer, the {@link OnDrop OnDrop} event is raised. * The {@link TDropContainerEventParameter} param will contain the dropped control. * @@ -39,6 +43,7 @@ Prado::using('System.Web.UI.ActiveControls.TActivePanel'); * @copyright Copyright © 2008, PradoSoft * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT * @package System.Web.UI.ActiveControls + * @deprecated Use TJuiDroppable instead */ class TDropContainer extends TPanel implements IActiveControl, ICallbackEventHandler { -- cgit v1.2.3