Difference between revisions of "JApplication::getMenu"
From Joomla! Documentation
(Layout updates) |
m (preparing for archive only) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
Returns the application object. | Returns the application object. | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function getMenu ( |
+ | $name=null | ||
+ | $options=array | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 32: | Line 30: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' object . | |
− | object . | + | * '''Defined''' on line 785 of libraries/joomla/application/application.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/application/application.php | ||
− | * | ||
− | |||
===See also=== | ===See also=== | ||
− | + | * {{JVer|11.1}} '''JApplication::getMenu source code''' on [[jplatform:application/application.php#cl-777|BitBucket]] | |
− | + | * {{JVer|11.1}} Class [[API17:JApplication|JApplication]] | |
− | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] | |
− | * | + | * [[API17:JApplication::getMenu|Other versions of JApplication::getMenu]] |
− | * [[JApplication::getMenu|Other versions of | + | |
− | + | ||
− | ===Examples=== | + | ===User contributed notes=== |
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JApplication::getMenu | category=JApplication::getMenu | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 21:19, 24 March 2017
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.
JApplication::getMenu[edit]
Description[edit]
Returns the application object.
public function getMenu (
$name=null
$options=array
)
Parameter | Type | Default | Description |
---|---|---|---|
$name | string | null | The name of the application/client. |
$options | array | array() | An optional associative array of configuration settings. |
See also[edit]
- JApplication::getMenu source code on BitBucket
- Class JApplication
- Subpackage Application
- Other versions of JApplication::getMenu
User contributed notes[edit]
Code Examples[edit]