Actions

API17

Difference between revisions of "JMenu"

From Joomla! Documentation

m (User contributed notes: bad link repair)
m (JoomlaWikiBot moved page JMenu/11.1 to API17:JMenu without leaving a redirect: Robot: Moved page)

Revision as of 19:41, 10 May 2013

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 />