API17:JMenu::getItems
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JMenu::getItems
Description
Gets menu items by attribute.
Description:JMenu::getItems [Edit Descripton]
Synopsis
public JMenu::getItems ($attributes, $values, $firstonly=false)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $attributes | string | The field name | |
| $values | string | The value of the field | |
| $firstonly | boolean | false | If true, only returns the first item found |
Returns
array
Defined in
libraries/joomla/application/menu.php (line 211)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
