Actions

API17

JMenu::getItems

From Joomla! Documentation

Revision as of 21:11, 11 May 2013 by JoomlaWikiBot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
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.

Joomla 11.1 JMenu::getItems

Description

Gets menu items by attribute.

Description:JMenu::getItems [Edit Descripton]

public function 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 on line 211 of libraries/joomla/application/menu.php

See also

SeeAlso:JMenu::getItems [Edit See Also]

User contributed notes

<CodeExamplesForm />