JMenu/1.5
From Joomla! Documentation
< JMenu(Difference between revisions)
(Layout updates) |
m (→See also: fixing link to API) |
||
| Line 67: | Line 67: | ||
<source lang="php">jimport( 'joomla.application.menu' );</source> | <source lang="php">jimport( 'joomla.application.menu' );</source> | ||
===See also=== | ===See also=== | ||
| − | * {{JVer|1.5}} '''JMenu''' on [http://api.joomla.org/Joomla-Framework/Application/JMenu.html api.joomla.org] | + | * {{JVer|1.5}} '''JMenu''' on [http://api.joomla.org/1.5/Joomla-Framework/Application/JMenu.html api.joomla.org] |
* {{JVer|1.5}} '''JMenu source code''' on [[jframework15:application/menu.php|JoomlaCode]] | * {{JVer|1.5}} '''JMenu source code''' on [[jframework15:application/menu.php|JoomlaCode]] | ||
* {{JVer|1.5}} Subpackage [[Subpackage Application/1.5|Application]] | * {{JVer|1.5}} Subpackage [[Subpackage Application/1.5|Application]] | ||
Latest revision as of 16:04, 13 February 2013
[edit]
JMenu
[edit] Description
Description:JMenu [Edit Descripton]
[edit] Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Class constructor. |
| public | authorize | 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 | getInstance | Returns a reference to a object. |
| 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. |
- Defined in libraries/joomla/application/menu.php
- Extends JObject
[edit] Importing
jimport( 'joomla.application.menu' );
[edit] See also
-
JMenu on api.joomla.org
-
JMenu source code on JoomlaCode
-
Subpackage Application
- Other versions of JMenu
[edit] User contributed notes
<CodeExamplesForm />