Difference between revisions of "JApplication::getRouter"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Returns the application object. | Returns the application object. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public static function getRouter ( | public static function getRouter ( | ||
Line 37: | Line 35: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JApplication::getRouter source code''' on [[jplatform:application/application.php#cl-703|BitBucket]] | * {{JVer|11.1}} '''JApplication::getRouter source code''' on [[jplatform:application/application.php#cl-703|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JApplication | + | * {{JVer|11.1}} Class [[API17:JApplication|JApplication]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Application | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] |
− | * [[JApplication::getRouter|Other versions of JApplication::getRouter]] | + | * [[API17:JApplication::getRouter|Other versions of JApplication::getRouter]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===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=* | ||
Line 55: | Line 51: | ||
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]