JMenu/getMenu: Difference between revisions
From Joomla! Documentation
New page: ===Description===
Getter for the menu array
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span... |
m clean up |
||
Line 2: | Line 2: | ||
Getter for the menu array | Getter for the menu array | ||
{{Description:JMenu/getMenu}} | |||
{{subst:Description:JMenu/getMenu}} | |||
===Syntax=== | ===Syntax=== | ||
Line 28: | Line 26: | ||
</source> | </source> | ||
{{subst:SeeAlso:JMenu/getMenu}} | |||
{{SeeAlso:JMenu/getMenu}} | |||
===Examples=== | ===Examples=== |
Revision as of 14:14, 24 March 2017
Description
Getter for the menu array
{{subst:Description:JMenu/getMenu}}
Syntax
getMenu()
Returns
array
Defined in
libraries/joomla/application/menu.php
Importing
jimport( 'joomla.application.menu' );
Source Body
public function getMenu()
{
return $this->_items;
}
{{subst:SeeAlso:JMenu/getMenu}}
Examples
<CodeExamplesForm />