API17:JCli::getInstance
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 33: | Line 33: | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/application/cli.php | + | libraries/joomla/application/cli.php (line 108) |
| + | * see source code in [[jplatform:application/cli.php#cl-108|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 20:06, 23 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JCli::getInstance
Description
Returns a reference to the global object, only creating it if it doesn't already exist.
Description:JCli::getInstance [Edit Descripton]
Synopsis
public static JCli::getInstance ($name= 'Joomla CLI', $config=array())
| Parameter | Type | Default | Description |
|---|---|---|---|
| $name | 'Joomla CLI' | ||
| $config | array() |
Returns
Defined in
libraries/joomla/application/cli.php (line 108)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
