JMenu::getItems/1.5
From Joomla! Documentation
JMenu::getItems
Description
Gets menu items by attribute.
Description:JMenu::getItems [Edit Descripton]
public function getItems ( $attribute $value $firstonly=false )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $attribute | string | The field name | |
| $value | string | The value of the field | |
| $firstonly | boolean | false | If true, only returns the first item found |
- Returns array
- Defined on line 212 of libraries/joomla/application/menu.php
See also
-
JMenu::getItems on api.joomla.org
-
JMenu source code on JoomlaCode
-
Class JMenu
-
Subpackage Application
- Other versions of JMenu::getItems
SeeAlso:JMenu::getItems [Edit See Also]
User contributed notes
<CodeExamplesForm />