ActionsDropdown

HTML utility class for building a dropdown menu

abstract
since

3.2

package

Joomla CMS

Methods

addCustomItem

Append a custom item to current dropdown menu.

addCustomItem( label,  icon = '',  id = '',  task = '') : 
static
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 = '') : 
static
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() : 
static
since

3.0

Response

void

duplicate

Append a duplicate item to the current dropdown menu

duplicate( id,  prefix = '') : 
static
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 = '') : 
static
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 = '') : 
static
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 = '') : 
static
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 = '') : 
static
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 = '') : 
static
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 = '') : 
static
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 = '') : 
static
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 = '') : 
static
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

static
since

3.2

Type(s)

string