Methods
All methods in the Solar_Controller_Console
class.
Public
-
__construct()
-
Constructor.
-
__destruct()
-
Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
-
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
-
_buildConfig()
-
Builds and returns the default config for a class, including all configs inherited from its parents.
-
_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.
-
_postConfig()
-
A hook that activates after _buildConfig() in the constructor.
-
_postConstruct()
-
Post-construction tasks to complete object construction.
-
_preConfig()
-
A hook that activates before _buildConfig() in the constructor.
-
_setCommandList()
-
Populates the list of recognized commands.
-
_setup()
-
Sets up the environment for all commands.
Private
None.