JFactory::getApplication
Get a application object.
Returns the global object, only creating it if it doesn't already exist.
Signature
public function getApplication([mixed
$id = null,
[array
$config = 'J',
[string
$prefix = 'J']]] )
Parameters
-
$id
- A client identifier or name.
-
$config
- An optional associative array of configuration settings.
-
$prefix
- Application prefix
Returns
- JApplicationCms
- object