|
static | init () |
|
static | start () |
|
static | render () |
|
static | edit ($id, $prefix='', $customLink='') |
|
static | publish ($checkboxId, $prefix='') |
|
static | unpublish ($checkboxId, $prefix='') |
|
static | featured ($checkboxId, $prefix='') |
|
static | unfeatured ($checkboxId, $prefix='') |
|
static | archive ($checkboxId, $prefix='') |
|
static | unarchive ($checkboxId, $prefix='') |
|
static | trash ($checkboxId, $prefix='') |
|
static | untrash ($checkboxId, $prefix='') |
|
static | checkin ($checkboxId, $prefix='') |
|
static | divider () |
|
static | addCustomItem ( $label, $link='javascript:void(0)', $linkAttributes='', $className='', $ajaxLoad=false, $jsCallBackFunc=null) |
|
HTML utility class for building a dropdown menu
- Depuis
- 3.0
◆ addCustomItem()
static addCustomItem |
( |
|
$label, |
|
|
|
$link = 'javascript:void(0)' , |
|
|
|
$linkAttributes = '' , |
|
|
|
$className = '' , |
|
|
|
$ajaxLoad = false , |
|
|
|
$jsCallBackFunc = null |
|
) |
| |
|
static |
Append a custom item to current dropdown menu
- Paramètres
-
string | $label | The label of item |
string | $link | The link of item |
string | $linkAttributes | Custom link attributes |
string | $className | Class name of item |
boolean | $ajaxLoad | True if using ajax load when item clicked |
string | $jsCallBackFunc | Javascript function name, called when ajax load successfully |
- Renvoie
- void
- Depuis
- 3.0
◆ archive()
static archive |
( |
|
$checkboxId, |
|
|
|
$prefix = '' |
|
) |
| |
|
static |
Append an archive item to the current dropdown menu
- Paramètres
-
string | $checkboxId | ID of corresponding checkbox of the record |
string | $prefix | The task prefix |
- Renvoie
- void
- Depuis
- 3.0
◆ checkin()
static checkin |
( |
|
$checkboxId, |
|
|
|
$prefix = '' |
|
) |
| |
|
static |
Append a checkin item to the current dropdown menu
- Paramètres
-
string | $checkboxId | ID of corresponding checkbox of the record |
string | $prefix | The task prefix |
- Renvoie
- void
- Depuis
- 3.0
◆ divider()
Writes a divider between dropdown items
- Renvoie
- void
- Depuis
- 3.0
◆ edit()
static edit |
( |
|
$id, |
|
|
|
$prefix = '' , |
|
|
|
$customLink = '' |
|
) |
| |
|
static |
◆ featured()
static featured |
( |
|
$checkboxId, |
|
|
|
$prefix = '' |
|
) |
| |
|
static |
Append a featured item to the current dropdown menu
- Paramètres
-
string | $checkboxId | ID of corresponding checkbox of the record |
string | $prefix | The task prefix |
- Renvoie
- void
- Depuis
- 3.0
◆ init()
◆ publish()
static publish |
( |
|
$checkboxId, |
|
|
|
$prefix = '' |
|
) |
| |
|
static |
Append a publish item to the current dropdown menu
- Paramètres
-
string | $checkboxId | ID of corresponding checkbox of the record |
string | $prefix | The task prefix |
- Renvoie
- void
- Depuis
- 3.0
Références $prefix, $task, et Text\_().
◆ render()
Method to render current dropdown menu
- Renvoie
- string HTML markup for the dropdown list
- Depuis
- 3.0
Références null.
◆ start()
Method to start a new dropdown menu
- Renvoie
- void
- Depuis
- 3.0
◆ trash()
static trash |
( |
|
$checkboxId, |
|
|
|
$prefix = '' |
|
) |
| |
|
static |
Append a trash item to the current dropdown menu
- Paramètres
-
string | $checkboxId | ID of corresponding checkbox of the record |
string | $prefix | The task prefix |
- Renvoie
- void
- Depuis
- 3.0
◆ unarchive()
static unarchive |
( |
|
$checkboxId, |
|
|
|
$prefix = '' |
|
) |
| |
|
static |
Append an unarchive item to the current dropdown menu
- Paramètres
-
string | $checkboxId | ID of corresponding checkbox of the record |
string | $prefix | The task prefix |
- Renvoie
- void
- Depuis
- 3.0
◆ unfeatured()
static unfeatured |
( |
|
$checkboxId, |
|
|
|
$prefix = '' |
|
) |
| |
|
static |
Append an unfeatured item to the current dropdown menu
- Paramètres
-
string | $checkboxId | ID of corresponding checkbox of the record |
string | $prefix | The task prefix |
- Renvoie
- void
- Depuis
- 3.0
◆ unpublish()
static unpublish |
( |
|
$checkboxId, |
|
|
|
$prefix = '' |
|
) |
| |
|
static |
Append an unpublish item to the current dropdown menu
- Paramètres
-
string | $checkboxId | ID of corresponding checkbox of the record |
string | $prefix | The task prefix |
- Renvoie
- void
- Depuis
- 3.0
◆ untrash()
static untrash |
( |
|
$checkboxId, |
|
|
|
$prefix = '' |
|
) |
| |
|
static |
Append an untrash item to the current dropdown menu
- Paramètres
-
string | $checkboxId | ID of corresponding checkbox of the record |
string | $prefix | The task prefix |
- Renvoie
- void
- Depuis
- 3.0
◆ $dropDownList
◆ $loaded
La documentation de cette classe a été générée à partir du fichier suivant :