Difference between revisions of "JMenu::getInstance"
From Joomla! Documentation
(Layout updates) |
m (moving preparation) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JMenu::getInstance|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JMenu::getInstance|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function getInstance ( |
+ | $client | ||
+ | $options=array | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' A menu object. | |
− | A menu object. | + | * '''Defined''' on line 78 of libraries/joomla/application/menu.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/application/menu.php | + | * '''Referenced by''' |
− | * | + | ** [[API17:JApplication::getMenu|JApplication::getMenu]] |
− | |||
− | * [[JApplication::getMenu | ||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JMenu::getInstance source code''' on [[jplatform:application/menu.php#cl-70|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[API17:JMenu|JMenu]] | ||
+ | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] | ||
+ | * [[API17:JMenu::getInstance|Other versions of JMenu::getInstance]] | ||
+ | {{SeeAlso:JMenu::getInstance}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JMenu::getInstance|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JMenu::getInstance|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 54: | Line 54: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Revision as of 21:11, 11 May 2013
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.
JMenu::getInstance[edit]
Description[edit]
Returns a object.
Template:Description:JMenu::getInstance [Edit Descripton]
public static function getInstance (
$client
$options=array
)
Parameter | Type | Default | Description |
---|---|---|---|
$client | string | The name of the client | |
$options | array | array() | An associative array of options |
- Returns A menu object.
- Defined on line 78 of libraries/joomla/application/menu.php
- Since
- Referenced by
See also[edit]
- JMenu::getInstance source code on BitBucket
- Class JMenu
- Subpackage Application
- Other versions of JMenu::getInstance
Template:SeeAlso:JMenu::getInstance [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />