From 9469e92dd35307a596216c98945ca871d4146c41 Mon Sep 17 00:00:00 2001 From: Michael Babker Date: Mon, 3 Oct 2016 02:25:05 -0500 Subject: [PATCH] Deprecate MooTools based helpers (#12268) * Deprecate MooTools based helpers * PHPCS sucks... --- libraries/cms/html/sliders.php | 7 ++++++- libraries/cms/html/tabs.php | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/libraries/cms/html/sliders.php b/libraries/cms/html/sliders.php index ab761d1e698ee..5c139008000a5 100644 --- a/libraries/cms/html/sliders.php +++ b/libraries/cms/html/sliders.php @@ -12,7 +12,8 @@ /** * Utility class for Sliders elements * - * @since 1.6 + * @since 1.6 + * @deprecated __DEPLOY_VERSION__ These helpers are dependent on the deprecated MooTools support */ abstract class JHtmlSliders { @@ -25,6 +26,7 @@ abstract class JHtmlSliders * @return string * * @since 1.6 + * @deprecated __DEPLOY_VERSION__ These helpers are dependent on the deprecated MooTools support */ public static function start($group = 'sliders', $params = array()) { @@ -39,6 +41,7 @@ public static function start($group = 'sliders', $params = array()) * @return string hTML to close the pane * * @since 1.6 + * @deprecated __DEPLOY_VERSION__ These helpers are dependent on the deprecated MooTools support */ public static function end() { @@ -54,6 +57,7 @@ public static function end() * @return string HTML to start a panel * * @since 1.6 + * @deprecated __DEPLOY_VERSION__ These helpers are dependent on the deprecated MooTools support */ public static function panel($text, $id) { @@ -70,6 +74,7 @@ public static function panel($text, $id) * @return void * * @since 1.6 + * @deprecated __DEPLOY_VERSION__ These helpers are dependent on the deprecated MooTools support */ protected static function loadBehavior($group, $params = array()) { diff --git a/libraries/cms/html/tabs.php b/libraries/cms/html/tabs.php index 7e47f13359921..fab03ab4e0efe 100644 --- a/libraries/cms/html/tabs.php +++ b/libraries/cms/html/tabs.php @@ -12,7 +12,8 @@ /** * Utility class for Tabs elements. * - * @since 1.6 + * @since 1.6 + * @deprecated __DEPLOY_VERSION__ These helpers are dependent on the deprecated MooTools support */ abstract class JHtmlTabs { @@ -25,6 +26,7 @@ abstract class JHtmlTabs * @return string * * @since 1.6 + * @deprecated __DEPLOY_VERSION__ These helpers are dependent on the deprecated MooTools support */ public static function start($group = 'tabs', $params = array()) { @@ -39,6 +41,7 @@ public static function start($group = 'tabs', $params = array()) * @return string HTML to close the pane * * @since 1.6 + * @deprecated __DEPLOY_VERSION__ These helpers are dependent on the deprecated MooTools support */ public static function end() { @@ -54,6 +57,7 @@ public static function end() * @return string HTML to start a new panel * * @since 1.6 + * @deprecated __DEPLOY_VERSION__ These helpers are dependent on the deprecated MooTools support */ public static function panel($text, $id) { @@ -69,6 +73,7 @@ public static function panel($text, $id) * @return void * * @since 1.6 + * @deprecated __DEPLOY_VERSION__ These helpers are dependent on the deprecated MooTools support */ protected static function loadBehavior($group, $params = array()) {