Actions

API17

Difference between revisions of "JCli"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 6: Line 6:
 
===Defined in===
 
===Defined in===
 
libraries/joomla/application/cli.php
 
libraries/joomla/application/cli.php
 +
* see source code in [[jplatform:application/cli.php|BitBucket]]
 
===Subpackage===
 
===Subpackage===
 
[[Subpackage Application/11.1|Application]]
 
[[Subpackage Application/11.1|Application]]
Line 54: Line 55:
 
<source lang="php">jimport( 'joomla.application.cli' );</source>
 
<source lang="php">jimport( 'joomla.application.cli' );</source>
 
===See also===
 
===See also===
 +
* JCli source code in [[jplatform:application/cli.php|BitBucket]]
 
* [[JCli|Other versions of this class]]
 
* [[JCli|Other versions of this class]]
 
{{SeeAlso:JCli}}
 
{{SeeAlso:JCli}}

Revision as of 17:50, 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.

[Edit Descripton] Description:JCli

Defined in

libraries/joomla/application/cli.php

Subpackage

Application

Extends

Extended by

Methods

Method name Description
close Exit the application.
execute Execute the application.
get Returns a property of the object or the default value if the property is not set.
in Get a value from standard input.
out Write a string to standard output.
registerEvent Registers a handler to a particular event group.
set Modifies a property of the object, creating it if it does not already exist.
triggerEvent Calls all handlers associated with an event group.
getInstance Returns a reference to the global object, only creating it if it doesn't already exist.
__construct Class constructor.
loadConfiguration Load the configuration file into the site object.

Importing

jimport( 'joomla.application.cli' );

See also

SeeAlso:JCli [Edit See Also]

Examples

<CodeExamplesForm />