Append a custom item to current dropdown menu.
static void
addCustomItem
(string $label, [string $icon = ''], [string $id = ''], [string $task = ''])
-
string
$label: The label of the item.
-
string
$icon: The icon classname.
-
string
$id: The item id.
-
string
$task: The task.
Append an archive item to the current dropdown menu
static void
archive
(string $id, [string $prefix = ''])
-
string
$id: ID of corresponding checkbox of the record
-
string
$prefix: The task prefix
Writes a divider between dropdown items
static void
divider
()
Append a duplicate item to the current dropdown menu
static void
duplicate
(string $id, [string $prefix = ''])
-
string
$id: ID of corresponding checkbox of the record
-
string
$prefix: The task prefix
Append a feature item to the current dropdown menu
static void
feature
(string $id, [string $prefix = ''])
-
string
$id: ID of corresponding checkbox of the record
-
string
$prefix: The task prefix
Append a publish item to the current dropdown menu
static void
publish
(string $id, [string $prefix = ''])
-
string
$id: ID of corresponding checkbox of the record
-
string
$prefix: The task prefix
Method to render current dropdown menu
static string
render
([string $item = ''])
-
string
$item: An item to render.
Append a trash item to the current dropdown menu
static void
trash
(string $id, [string $prefix = ''])
-
string
$id: ID of corresponding checkbox of the record
-
string
$prefix: The task prefix
Append an unarchive item to the current dropdown menu
static void
unarchive
(string $id, [string $prefix = ''])
-
string
$id: ID of corresponding checkbox of the record
-
string
$prefix: The task prefix
Append an unfeature item to the current dropdown menu
static void
unfeature
(string $id, [string $prefix = ''])
-
string
$id: ID of corresponding checkbox of the record
-
string
$prefix: The task prefix
Append an unpublish item to the current dropdown menu
static void
unpublish
(string $id, [string $prefix = ''])
-
string
$id: ID of corresponding checkbox of the record
-
string
$prefix: The task prefix
Append an untrash item to the current dropdown menu
static void
untrash
(string $id, [string $prefix = ''])
-
string
$id: ID of corresponding checkbox of the record
-
string
$prefix: The task prefix