Actions

API17

JMenu

From Joomla! Documentation

Revision as of 15:55, 20 April 2011 by Doxiki2 (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.

[Edit Descripton] Description:JMenu

Defined in

libraries/joomla/application/menu.php

Subpackage

Application

Extends

JObject

Extended by

Methods

Method name Description
__construct Class constructor.
authorise Method to check object authorization against an access control object and optionally an access extension object.
getActive Get menu item by id.
getDefault Get menu item by id.
getItem Get menu item by id.
getItems Gets menu items by attribute.
getMenu Getter for the menu array.
getParams Gets the parameter object for a certain menu item.
load Loads the menu items.
setActive Set the default item by id.
setDefault Set the default item by id and language code.
getInstance Returns a object.

Importing

jimport( 'joomla.application.menu' );

See also

SeeAlso:JMenu [Edit See Also]

Examples

<CodeExamplesForm />