Overview

The CLI equivalent of a page-controller; a single command to be invoked from the command-line.

Package

This class is part of the Solar_Controller package.

Inheritance:

Configuration Keys

None.

Constants

None.

Public Properties

The Solar_Controller_Command class has no public properties; try the list of all properties.

Public Methods

These are all the public methods in the Solar_Controller_Command class.

You can also view the list of all public, protected, and private methods.

__construct()

Constructor.

__destruct()

Destructor; closes STDOUT and STDERR file handles.

dump()

Convenience method for getting a dump the whole object, or one of its properties, or an external variable.

exec()

Public interface to execute the command.

getInfoHelp()

Returns the help text for this command.

getInfoOptions()

Returns an array of option flags and descriptions for this command.

locale()

Looks up class-specific locale strings based on a key.

setConsoleController()

Injects the console-controller object (if any) that invoked this command.



Local