JApplicationCli::getInstance
Returns a reference to the global JApplicationCli object, only creating it if it doesn't already exist.
This method must be invoked as: $cli = JApplicationCli::getInstance();
Signature
public function getInstance([string
$name = null] )
Parameters
-
$name
- The name (optional) of the JApplicationCli class to instantiate.
Returns
- JApplicationCli