JApplication::getInstance
Returns the global JApplicationCms object, only creating it if it doesn't already exist.
Signature
public function getInstance(mixed
$client,
[array
$config = 'J',
[string
$prefix = 'J']] )
Parameters
-
$client
- A client identifier or name.
-
$config
- An optional associative array of configuration settings.
-
$prefix
- A prefix for class names
Returns
- JApplicationCms
- A JApplicationCms object.