JHtmlDropdown::addCustomItem
Append a custom item to current dropdown menu
Signature
public function addCustomItem(string
$label,
[string
$link = 'javascript:void(0)',
[string
$linkAttributes = '',
[string
$className = '',
[boolean
$ajaxLoad = false,
[string
$jsCallBackFunc = null]]]]] )
Parameters
-
$label
- The label of item
-
$link
- The link of item
-
$linkAttributes
- Custom link attributes
-
$className
- Class name of item
-
$ajaxLoad
- True if using ajax load when item clicked
-
$jsCallBackFunc
- Javascript function name, called when ajax load successfully
Returns
- void