Methods
All methods in the Solar_Vt100 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.
-
escape() -
Escapes ASCII control codes (0-31, 127) and %-signs.
-
format() -
Converts VT100 %-markup to control codes.
-
locale() -
Looks up class-specific locale strings based on a key.
-
plain() -
Converts VT100 %-markup to plain text.
-
write() -
Writes text to a file handle, converting to control codes if the handle is a posix TTY, or to plain text if not.
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.
-
_postConfig() -
A hook that activates after _buildConfig() in the constructor.
-
_postConstruct() -
A hook that activates at the end of the constructor.
-
_preConfig() -
A hook that activates before _buildConfig() in the constructor.
Private
None.