Actions

API17

JMenu

From Joomla! Documentation

Revision as of 13:57, 29 August 2012 by JoomlaWikiBot (Talk | contribs)

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

Description

Description:JMenu [Edit Descripton]

Methods

Visibility Method name Description
public __construct Class constructor.
public authorise Method to check object authorization against an access control object and optionally an access extension object.
public getActive Get menu item by id.
public getDefault Get menu item by id.
public getItem Get menu item by id.
public getItems Gets menu items by attribute.
public getMenu Getter for the menu array.
public getParams Gets the parameter object for a certain menu item.
public load Loads the menu items.
public setActive Set the default item by id.
public setDefault Set the default item by id and language code.
public static getInstance Returns a object.
  • Defined in libraries/joomla/application/menu.php
  • Extends JObject

Importing

jimport( 'joomla.application.menu' );

See also

SeeAlso:JMenu [Edit See Also]

User contributed notes

<CodeExamplesForm />