|
Previous Page |
Solar_Controller_Console |
Next Page |
Methods
Public
__construct()- Constructor.
__destruct()- Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
apiVersion()- Reports the API version for this class.
dump()- Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
exec()- Finds and invokes a command.
getCommandList()- Returns a list of commands recognized by this console controller, and the related classes for those commands.
locale()- Looks up class-specific locale strings based on a key.
Protected
_exception()- Convenience method for returning exceptions with localized text.
_getCommandClass()- Finds the command class from a command name.
_notFound()- This runs when exec() cannot find a related command class.
_setCommandList()- Populates the list of recognized commands.
_setup()- Sets up the environment for all commands.
Private
None.