JHtmlDropdown
class JHtmlDropdown
HTML utility class for building a dropdown menu
Methods
Method to inject needed script
Method to start a new dropdown menu
Method to render current dropdown menu
Append an edit item to the current dropdown menu
Append a publish item to the current dropdown menu
Append an unpublish item to the current dropdown menu
Append a featured item to the current dropdown menu
Append an unfeatured 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 trash item to the current dropdown menu
Append an untrash item to the current dropdown menu
Append a checkin item to the current dropdown menu
Writes a divider between dropdown items
Append a custom item to current dropdown menu
Details
static
void
edit(
integer $id,
string $prefix = '',
string $customLink = '')
Append an edit item to the current dropdown menu
static
void
publish(
string $checkboxId,
string $prefix = '')
Append a publish item to the current dropdown menu
static
void
unpublish(
string $checkboxId,
string $prefix = '')
Append an unpublish item to the current dropdown menu
static
void
featured(
string $checkboxId,
string $prefix = '')
Append a featured item to the current dropdown menu
static
void
unfeatured(
string $checkboxId,
string $prefix = '')
Append an unfeatured item to the current dropdown menu
static
void
archive(
string $checkboxId,
string $prefix = '')
Append an archive item to the current dropdown menu
static
void
unarchive(
string $checkboxId,
string $prefix = '')
Append an unarchive item to the current dropdown menu
static
void
trash(
string $checkboxId,
string $prefix = '')
Append a trash item to the current dropdown menu
static
void
untrash(
string $checkboxId,
string $prefix = '')
Append an untrash item to the current dropdown menu