Actions

API17

Difference between revisions of "JCli::getInstance"

From Joomla! Documentation

(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

Replacement filing cabinet.png
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.

Joomla 11.1 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)

Referenced by

See also

[Edit See Also]

SeeAlso:JCli::getInstance

Examples

<CodeExamplesForm />