JSubMenuHelper::addFilter
Method to add a filter to the submenu
Signature
public function addFilter(string
$label,
[string
$name = false,
[string
$options = false,
[boolean
$noDefault = false]]] )
Parameters
-
$label
- Label for the menu item.
-
$name
- name for the filter. Also used as id.
-
$options
- options for the select field.
-
$noDefault
- Don't the label as the empty option
Returns
- void