API17:JMenu
From Joomla! Documentation
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
- see source code in BitBucket
Subpackage
Extends
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
- JMenu source code in BitBucket
- Other versions of this class
Examples
<CodeExamplesForm />
