API17:JMenu
From Joomla! Documentation
(Difference between revisions)
(Updated to r1448:247ba8d88526) |
m (→User contributed notes: bad link repair) |
||
| Line 85: | Line 85: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
| − | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JMenu]]</noinclude> | + | <noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JMenu]]</noinclude> |
Revision as of 13:57, 29 August 2012
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.
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
-
JMenu source code on BitBucket
-
Subpackage Application
- Other versions of JMenu
User contributed notes
<CodeExamplesForm />
