Back to Joomla project (class list)

Class ActionsDropdown - list of methods

HTML utility class for building a dropdown menu
Package: Joomla\CMS\HTML\Helpers
Copyright: (C) 2013 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/HTML/Helpers/ActionsDropdown.php
Project: Joomla

Method Summary

public static string
(mixed $item = '')

Method to render current dropdown menu
Parameters
  • string $item An item to render.
Returns
  • string HTML markup for the dropdown list
Since
  • 3.2
Show source code of this method: render Source Code

public static void
(mixed $id, mixed $prefix = '')

Append a publish item to the current dropdown menu
Parameters
  • string $id ID of corresponding checkbox of the record
  • string $prefix The task prefix
Returns
  • void
Since
  • 3.2
Show source code of this method: publish Source Code

public static void
(mixed $id, mixed $prefix = '')

Append an unpublish item to the current dropdown menu
Parameters
  • string $id ID of corresponding checkbox of the record
  • string $prefix The task prefix
Returns
  • void
Since
  • 3.2
Show source code of this method: unpublish Source Code

public static void
(mixed $id, mixed $prefix = '')

Append a feature item to the current dropdown menu
Parameters
  • string $id ID of corresponding checkbox of the record
  • string $prefix The task prefix
Returns
  • void
Since
  • 3.2
Show source code of this method: feature Source Code

public static void
(mixed $id, mixed $prefix = '')

Append an unfeature item to the current dropdown menu
Parameters
  • string $id ID of corresponding checkbox of the record
  • string $prefix The task prefix
Returns
  • void
Since
  • 3.2
Show source code of this method: unfeature Source Code

public static void
(mixed $id, mixed $prefix = '')

Append an archive item to the current dropdown menu
Parameters
  • string $id ID of corresponding checkbox of the record
  • string $prefix The task prefix
Returns
  • void
Since
  • 3.2
Show source code of this method: archive Source Code

public static void
(mixed $id, mixed $prefix = '')

Append an unarchive item to the current dropdown menu
Parameters
  • string $id ID of corresponding checkbox of the record
  • string $prefix The task prefix
Returns
  • void
Since
  • 3.2
Show source code of this method: unarchive Source Code

public static void
(mixed $id, mixed $prefix = '')

Append a duplicate item to the current dropdown menu
Parameters
  • string $id ID of corresponding checkbox of the record
  • string $prefix The task prefix
Returns
  • void
Since
  • 3.2
Show source code of this method: duplicate Source Code

public static void
(mixed $id, mixed $prefix = '')

Append a trash item to the current dropdown menu
Parameters
  • string $id ID of corresponding checkbox of the record
  • string $prefix The task prefix
Returns
  • void
Since
  • 3.2
Show source code of this method: trash Source Code

public static void
(mixed $id, mixed $prefix = '')

Append an untrash item to the current dropdown menu
Parameters
  • string $id ID of corresponding checkbox of the record
  • string $prefix The task prefix
Returns
  • void
Since
  • 3.2
Show source code of this method: untrash Source Code

public static void
()

Writes a divider between dropdown items
Returns
  • void
Since
  • 3.0
Show source code of this method: divider Source Code

public static void
(mixed $label, mixed $icon = '', mixed $id = '', mixed $task = '')

Append a custom item to current dropdown menu.
Parameters
  • string $label The label of the item.
  • string $icon The icon classname.
  • string $id The item id.
  • string $task The task.
Returns
  • void
Since
  • 3.2
Show source code of this method: addCustomItem Source Code

Properties Summary

protected static string
$dropDownList
Since
  • 3.2

Tags Summary

Since
3.2