API17

API17:JCli

From Joomla! Documentation

Revision as of 20:46, 20 April 2011 by Doxiki2 (talk | contribs) (Bulk upload by Doxiki2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[Edit Descripton] Template: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

Template:SeeAlso:JCli [Edit See Also]

Examples

<CodeExamplesForm />