[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/HTML/Helpers/ -> ActionsDropdown.php (summary)

Joomla! Content Management System

Copyright: (C) 2013 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 242 lines (7 kb)
Included or required:0 times
Referenced: 2 times
Includes or requires: 0 files

Defines 12 functions

  render()
  publish()
  unpublish()
  feature()
  unfeature()
  archive()
  unarchive()
  duplicate()
  trash()
  untrash()
  divider()
  addCustomItem()

Functions
Functions that are not part of a class:

render($item = '')   X-Ref
Method to render current dropdown menu

param: string  $item  An item to render.
return: string  HTML markup for the dropdown list

publish($id, $prefix = '')   X-Ref
Append a publish item to the current dropdown menu

param: string  $id      ID of corresponding checkbox of the record
param: string  $prefix  The task prefix
return: void

unpublish($id, $prefix = '')   X-Ref
Append an unpublish item to the current dropdown menu

param: string  $id      ID of corresponding checkbox of the record
param: string  $prefix  The task prefix
return: void

feature($id, $prefix = '')   X-Ref
Append a feature item to the current dropdown menu

param: string  $id      ID of corresponding checkbox of the record
param: string  $prefix  The task prefix
return: void

unfeature($id, $prefix = '')   X-Ref
Append an unfeature item to the current dropdown menu

param: string  $id      ID of corresponding checkbox of the record
param: string  $prefix  The task prefix
return: void

archive($id, $prefix = '')   X-Ref
Append an archive item to the current dropdown menu

param: string  $id      ID of corresponding checkbox of the record
param: string  $prefix  The task prefix
return: void

unarchive($id, $prefix = '')   X-Ref
Append an unarchive item to the current dropdown menu

param: string  $id      ID of corresponding checkbox of the record
param: string  $prefix  The task prefix
return: void

duplicate($id, $prefix = '')   X-Ref
Append a duplicate item to the current dropdown menu

param: string  $id      ID of corresponding checkbox of the record
param: string  $prefix  The task prefix
return: void

trash($id, $prefix = '')   X-Ref
Append a trash item to the current dropdown menu

param: string  $id      ID of corresponding checkbox of the record
param: string  $prefix  The task prefix
return: void

untrash($id, $prefix = '')   X-Ref
Append an untrash item to the current dropdown menu

param: string  $id      ID of corresponding checkbox of the record
param: string  $prefix  The task prefix
return: void

divider()   X-Ref
Writes a divider between dropdown items

return: void

addCustomItem($label, $icon = '', $id = '', $task = '')   X-Ref
Append a custom item to current dropdown menu.

param: string  $label  The label of the item.
param: string  $icon   The icon classname.
param: string  $id     The item id.
param: string  $task   The task.
return: void



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer