Difference between revisions of "JApplication::getRouter"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (preparing for archive only) |
||
(6 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 static | + | public static function getRouter ( |
+ | $name=null | ||
+ | array $options=array | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 32: | Line 30: | ||
|- | |- | ||
|} | |} | ||
− | === | + | * '''Returns''' |
+ | * '''Defined''' on line 711 of libraries/joomla/application/application.php | ||
+ | * '''Since''' {{JVer|11.1 }} | ||
+ | ===See also=== | ||
+ | * {{JVer|11.1}} '''JApplication::getRouter source code''' on [[jplatform:application/application.php#cl-703|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[API17:JApplication|JApplication]] | ||
+ | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] | ||
+ | * [[API17:JApplication::getRouter|Other versions of JApplication::getRouter]] | ||
− | + | ||
− | + | ===User contributed notes=== | |
− | === | + | === Code Examples === |
− | === | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JApplication::getRouter | category=JApplication::getRouter | ||
− | + | 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::getRouter[edit]
Description[edit]
Returns the application object.
public static function getRouter (
$name=null
array $options=array
)
Parameter | Type | Default | Description |
---|---|---|---|
$name | string | null | The name of the application. |
array $options | array | array() | $options An optional associative array of configuration settings. |
See also[edit]
- JApplication::getRouter source code on BitBucket
- Class JApplication
- Subpackage Application
- Other versions of JApplication::getRouter
User contributed notes[edit]
Code Examples[edit]