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
string
The label of the item.- icon
string
The icon classname.- id
string
The item id.- task
string
The task.
Response
void
archive
Append an archive item to the current dropdown menu
archive( id, prefix = '') :
since |
3.2 |
---|
Arguments
- id
string
ID of corresponding checkbox of the record- prefix
string
The 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
string
ID of corresponding checkbox of the record- prefix
string
The task prefix
Response
void
feature
Append a feature item to the current dropdown menu
feature( id, prefix = '') :
since |
3.2 |
---|
Arguments
- id
string
ID of corresponding checkbox of the record- prefix
string
The task prefix
Response
void
publish
Append a publish item to the current dropdown menu
publish( id, prefix = '') :
since |
3.2 |
---|
Arguments
- id
string
ID of corresponding checkbox of the record- prefix
string
The task prefix
Response
void
render
Method to render current dropdown menu
render( item = '') :
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( id, prefix = '') :
since |
3.2 |
---|
Arguments
- id
string
ID of corresponding checkbox of the record- prefix
string
The task prefix
Response
void
unarchive
Append an unarchive item to the current dropdown menu
unarchive( id, prefix = '') :
since |
3.2 |
---|
Arguments
- id
string
ID of corresponding checkbox of the record- prefix
string
The task prefix
Response
void
unfeature
Append an unfeature item to the current dropdown menu
unfeature( id, prefix = '') :
since |
3.2 |
---|
Arguments
- id
string
ID of corresponding checkbox of the record- prefix
string
The task prefix
Response
void
unpublish
Append an unpublish item to the current dropdown menu
unpublish( id, prefix = '') :
since |
3.2 |
---|
Arguments
- id
string
ID of corresponding checkbox of the record- prefix
string
The task prefix
Response
void
untrash
Append an untrash item to the current dropdown menu
untrash( id, prefix = '') :
since |
3.2 |
---|
Arguments
- id
string
ID of corresponding checkbox of the record- prefix
string
The task prefix
Response
void
Properties
dropDownList
HTML markup for the dropdown list
since |
3.2 |
---|
Type(s)
string