API17

Difference between revisions of "JMenu"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 6: Line 6:
 
===Defined in===
 
===Defined in===
 
libraries/joomla/application/menu.php
 
libraries/joomla/application/menu.php
 +
* see source code in [[jplatform:application/menu.php|BitBucket]]
 
===Subpackage===
 
===Subpackage===
 
[[Subpackage Application/11.1|Application]]
 
[[Subpackage Application/11.1|Application]]
Line 57: Line 58:
 
<source lang="php">jimport( 'joomla.application.menu' );</source>
 
<source lang="php">jimport( 'joomla.application.menu' );</source>
 
===See also===
 
===See also===
 +
* JMenu source code in [[jplatform:application/menu.php|BitBucket]]
 
* [[JMenu|Other versions of this class]]
 
* [[JMenu|Other versions of this class]]
 
{{SeeAlso:JMenu}}
 
{{SeeAlso:JMenu}}

Revision as of 17:59, 23 April 2011

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.

[Edit Descripton] Template:Description:JMenu

Defined in[edit]

libraries/joomla/application/menu.php

Subpackage[edit]

Application

Extends[edit]

JObject

Extended by[edit]

Methods[edit]

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[edit]

jimport( 'joomla.application.menu' );

See also[edit]

Template:SeeAlso:JMenu [Edit See Also]

Examples[edit]

<CodeExamplesForm />