JApplication::getRouter
From Joomla! Documentation
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.
Template:Description:JApplication::getRouter [Edit Descripton]
Since[edit]
Synopsis[edit]
public static JApplication::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. |
Returns[edit]
Defined in[edit]
libraries/joomla/application/application.php (line 711)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JApplication::getRouter
Examples[edit]
<CodeExamplesForm />