Base class for a Joomla! command line application.
Located in /libraries/joomla/application/cli.php (line 22)
Class | Description |
---|---|
JCli | Deprecated class placeholder. You should use JApplicationCli instead. |
JApplicationDaemon | Base class for a Joomla! command line application. |
FinderCli | A command line cron job to run the Finder indexer. |
GarbageCron | Cron job to trash expired cache data |
Updatecron | This script will fetch the update information for all extensions and store them in the database, speeding up your administrator. |
Returns a reference to the global JApplicationCli object, only creating it if it doesn't already exist.
This method must be invoked as: $cli = JApplicationCli::getInstance();
Class constructor.
Exit the application.
Method to run the application routines. Most likely you will want to instantiate a controller and execute it, or perform some sort of task directly.
Execute the application.
Method to load a PHP configuration class file based on convention and return the instantiated data object. You will extend this method in child classes to provide configuration data from whatever data source is relevant for your specific application.
Returns a property of the object or the default value if the property is not set.
Get a value from standard input.
Load an object or array into the application configuration object.
Method to create an event dispatcher for the application. The logic and options for creating this object are adequately generic for default cases but for many applications it will make sense to override this method and create event dispatchers based on more specific needs.
Write a string to standard output.
Registers a handler to a particular event group.
Modifies a property of the object, creating it if it does not already exist.
Calls all handlers associated with an event group.
Documentation generated on Mon, 25 Jun 2012 13:53:03 -0500 by phpDocumentor 1.4.4