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