Skip to content

Commit

Permalink
Deprecate MooTools based helpers (#12268)
Browse files Browse the repository at this point in the history
* Deprecate MooTools based helpers

* PHPCS sucks...
  • Loading branch information
Michael Babker authored and wilsonge committed Oct 3, 2016
1 parent 629db9d commit 9469e92
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion libraries/cms/html/sliders.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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())
{
Expand All @@ -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()
{
Expand All @@ -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)
{
Expand All @@ -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())
{
Expand Down
7 changes: 6 additions & 1 deletion libraries/cms/html/tabs.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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())
{
Expand All @@ -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()
{
Expand All @@ -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)
{
Expand All @@ -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())
{
Expand Down

0 comments on commit 9469e92

Please sign in to comment.