JMenu
From Joomla! Documentation
Revision as of 19:41, 10 May 2013 by JoomlaWikiBot (talk | contribs) (JoomlaWikiBot moved page JMenu/11.1 to API17:JMenu without leaving a redirect: Robot: Moved page)
Revision as of 19:41, 10 May 2013 by JoomlaWikiBot (talk | contribs) (JoomlaWikiBot moved page JMenu/11.1 to API17:JMenu without leaving a redirect: Robot: Moved page)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JMenu[edit]
Description[edit]
Template:Description:JMenu [Edit Descripton]
Methods[edit]
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[edit]
jimport( 'joomla.application.menu' );
See also[edit]
- JMenu source code on BitBucket
- Subpackage Application
- Other versions of JMenu
Template:SeeAlso:JMenu [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />