Public Member Functions | |
__construct (TextOutput $out) | |
getOutput () | |
| |
newLine () | |
| |
log ($text, $bold=false) | |
| |
logLine ($text, $bold=false) | |
| |
info ($text, $bold=false) | |
| |
infoLine ($text, $bold=false) | |
| |
warning ($text) | |
| |
warningLine ($text) | |
| |
error ($text, $bold=false) | |
| |
errorLine ($text, $bold=false) | |
| |
remark ($text) | |
| |
remarkLine ($text) | |
| |
Private Member Functions | |
defaultText ($text, $color, $bold) | |
| |
defaultTextLine ($text, $color, $bold) | |
| |
Private Attributes | |
$out = null |
Definition at line 16 of file MetaOutput.class.php.
MetaOutput::__construct | ( | TextOutput $ | out | ) |
Definition at line 20 of file MetaOutput.class.php.
MetaOutput::getOutput | ( | ) |
MetaOutput::newLine | ( | ) |
MetaOutput::log | ( | $ | text, | |
$ | bold = false | |||
) |
Definition at line 46 of file MetaOutput.class.php.
References defaultText(), and ConsoleMode::FG_WHITE.
MetaOutput::logLine | ( | $ | text, | |
$ | bold = false | |||
) |
Definition at line 54 of file MetaOutput.class.php.
References defaultTextLine(), and ConsoleMode::FG_WHITE.
MetaOutput::info | ( | $ | text, | |
$ | bold = false | |||
) |
Definition at line 62 of file MetaOutput.class.php.
References defaultText(), and ConsoleMode::FG_GREEN.
MetaOutput::infoLine | ( | $ | text, | |
$ | bold = false | |||
) |
Definition at line 70 of file MetaOutput.class.php.
References defaultTextLine(), and ConsoleMode::FG_GREEN.
MetaOutput::warning | ( | $ | text | ) |
Definition at line 78 of file MetaOutput.class.php.
References defaultText(), and ConsoleMode::FG_BROWN.
MetaOutput::warningLine | ( | $ | text | ) |
Definition at line 86 of file MetaOutput.class.php.
References defaultTextLine(), and ConsoleMode::FG_BROWN.
MetaOutput::error | ( | $ | text, | |
$ | bold = false | |||
) |
Definition at line 94 of file MetaOutput.class.php.
References defaultText(), and ConsoleMode::FG_RED.
MetaOutput::errorLine | ( | $ | text, | |
$ | bold = false | |||
) |
Definition at line 102 of file MetaOutput.class.php.
References defaultTextLine(), and ConsoleMode::FG_RED.
MetaOutput::remark | ( | $ | text | ) |
Definition at line 110 of file MetaOutput.class.php.
References defaultText(), and ConsoleMode::FG_BLUE.
MetaOutput::remarkLine | ( | $ | text | ) |
Definition at line 118 of file MetaOutput.class.php.
References defaultTextLine(), and ConsoleMode::FG_BLUE.
MetaOutput::defaultText | ( | $ | text, | |
$ | color, | |||
$ | bold | |||
) | [private] |
Definition at line 126 of file MetaOutput.class.php.
References ConsoleMode::ATTR_BOLD, ConsoleMode::ATTR_RESET_ALL, and ConsoleMode::BG_BLACK.
Referenced by error(), info(), log(), remark(), and warning().
MetaOutput::defaultTextLine | ( | $ | text, | |
$ | color, | |||
$ | bold | |||
) | [private] |
Definition at line 145 of file MetaOutput.class.php.
References ConsoleMode::ATTR_BOLD, ConsoleMode::ATTR_RESET_ALL, and ConsoleMode::BG_BLACK.
Referenced by errorLine(), infoLine(), logLine(), remarkLine(), and warningLine().
MetaOutput::$out = null [private] |
Definition at line 18 of file MetaOutput.class.php.