JHtmlActionsDropdown
HTML utility class for building a dropdown menu
since |
3.2 |
---|---|
package |
Joomla.Libraries |
Methods
addCustomItem
Append a custom item to current dropdown menu.
addCustomItem(string $label, string $icon = '', string $id = '', string $task = '') : void
since |
3.2 |
---|
Arguments
- $label
string
The label of the item.- $icon
string
The icon classname.- $id
string
The item id.- $task
string
The task.
archive
Append an archive item to the current dropdown menu
archive(string $id, string $prefix = '') : void
since |
3.2 |
---|
Arguments
- $id
string
ID of corresponding checkbox of the record- $prefix
string
The task prefix
divider
Writes a divider between dropdown items
divider() : void
since |
3.0 |
---|
duplicate
Append a duplicate item to the current dropdown menu
duplicate(string $id, string $prefix = '') : void
since |
3.2 |
---|
Arguments
- $id
string
ID of corresponding checkbox of the record- $prefix
string
The task prefix
feature
Append a feature item to the current dropdown menu
feature(string $id, string $prefix = '') : void
since |
3.2 |
---|
Arguments
- $id
string
ID of corresponding checkbox of the record- $prefix
string
The task prefix
publish
Append a publish item to the current dropdown menu
publish(string $id, string $prefix = '') : void
since |
3.2 |
---|
Arguments
- $id
string
ID of corresponding checkbox of the record- $prefix
string
The task prefix
render
Method to render current dropdown menu
render(string $item = '') : string
since |
3.2 |
---|
Arguments
- $item
string
An item to render.
Response
string
HTML markup for the dropdown list
trash
Append a trash item to the current dropdown menu
trash(string $id, string $prefix = '') : void
since |
3.2 |
---|
Arguments
- $id
string
ID of corresponding checkbox of the record- $prefix
string
The task prefix
unarchive
Append an unarchive item to the current dropdown menu
unarchive(string $id, string $prefix = '') : void
since |
3.2 |
---|
Arguments
- $id
string
ID of corresponding checkbox of the record- $prefix
string
The task prefix
unfeature
Append an unfeature item to the current dropdown menu
unfeature(string $id, string $prefix = '') : void
since |
3.2 |
---|
Arguments
- $id
string
ID of corresponding checkbox of the record- $prefix
string
The task prefix
unpublish
Append an unpublish item to the current dropdown menu
unpublish(string $id, string $prefix = '') : void
since |
3.2 |
---|
Arguments
- $id
string
ID of corresponding checkbox of the record- $prefix
string
The task prefix
untrash
Append an untrash item to the current dropdown menu
untrash(string $id, string $prefix = '') : void
since |
3.2 |
---|
Arguments
- $id
string
ID of corresponding checkbox of the record- $prefix
string
The task prefix
Properties
dropDownList
HTML markup for the dropdown list
since |
3.2 |
---|
Type(s)
string