JHtmlActionsDropdown
class JHtmlActionsDropdown
HTML utility class for building a dropdown menu
Methods
Method to render current dropdown menu
Append a publish item to the current dropdown menu
Append an unpublish item to the current dropdown menu
Append a feature item to the current dropdown menu
Append an unfeature item to the current dropdown menu
Append an archive item to the current dropdown menu
Append an unarchive item to the current dropdown menu
Append a duplicate item to the current dropdown menu
Append a trash item to the current dropdown menu
Append an untrash item to the current dropdown menu
Writes a divider between dropdown items
Append a custom item to current dropdown menu.
Details
static
void
publish(
string $id,
string $prefix = '')
Append a publish item to the current dropdown menu
static
void
unpublish(
string $id,
string $prefix = '')
Append an unpublish item to the current dropdown menu
static
void
feature(
string $id,
string $prefix = '')
Append a feature item to the current dropdown menu
static
void
unfeature(
string $id,
string $prefix = '')
Append an unfeature item to the current dropdown menu
static
void
archive(
string $id,
string $prefix = '')
Append an archive item to the current dropdown menu
static
void
unarchive(
string $id,
string $prefix = '')
Append an unarchive item to the current dropdown menu
static
void
duplicate(
string $id,
string $prefix = '')
Append a duplicate item to the current dropdown menu
static
void
trash(
string $id,
string $prefix = '')
Append a trash item to the current dropdown menu