JCli
From Joomla! Documentation
Revision as of 13:32, 29 August 2012 by JoomlaWikiBot (talk | contribs) (→User contributed notes: bad link repair)
Revision as of 13:32, 29 August 2012 by JoomlaWikiBot (talk | contribs) (→User contributed notes: bad link repair)
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JCli[edit]
Description[edit]
Template:Description:JCli [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | close | Exit the application. |
public | execute | Execute the application. |
public | get | Returns a property of the object or the default value if the property is not set. |
public | in | Get a value from standard input. |
public | loadConfiguration | Load an object or array into the application configuration object. |
public | out | Write a string to standard output. |
public | registerEvent | Registers a handler to a particular event group. |
public | set | Modifies a property of the object, creating it if it does not already exist. |
public | triggerEvent | Calls all handlers associated with an event group. |
public | getInstance | Returns a reference to the global object, only creating it if it doesn't already exist. |
protected | __construct | Class constructor. |
protected | fetchConfigurationData | Method to load a PHP configuration class file based on convention and return the instantiated data object. |
- Defined in libraries/joomla/application/cli.php
- Extended by
Importing[edit]
jimport( 'joomla.application.cli' );
See also[edit]
- JCli source code on BitBucket
- Subpackage Application
- Other versions of JCli
Template:SeeAlso:JCli [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />