JMenu::getItems
Gets menu items by attribute
Signature
public function getItems(mixed
$attributes,
[mixed
$values = false,
[boolean
$firstonly = false]] )
Parameters
-
$attributes
- The field name(s).
-
$values
- The value(s) of the field. If an array, need to match field names
-
$firstonly
- If true, only returns the first item found
Returns
- array