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 15 of file MetaOutput.class.php.
MetaOutput::__construct | ( | TextOutput $ | out | ) |
Definition at line 19 of file MetaOutput.class.php.
MetaOutput::defaultText | ( | $ | text, | |
$ | color, | |||
$ | bold | |||
) | [private] |
Definition at line 125 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 144 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::error | ( | $ | text, | |
$ | bold = false | |||
) |
Definition at line 93 of file MetaOutput.class.php.
References defaultText(), and ConsoleMode::FG_RED.
MetaOutput::errorLine | ( | $ | text, | |
$ | bold = false | |||
) |
Definition at line 101 of file MetaOutput.class.php.
References defaultTextLine(), and ConsoleMode::FG_RED.
MetaOutput::getOutput | ( | ) |
Definition at line 27 of file MetaOutput.class.php.
MetaOutput::info | ( | $ | text, | |
$ | bold = false | |||
) |
Definition at line 61 of file MetaOutput.class.php.
References defaultText(), and ConsoleMode::FG_GREEN.
MetaOutput::infoLine | ( | $ | text, | |
$ | bold = false | |||
) |
Definition at line 69 of file MetaOutput.class.php.
References defaultTextLine(), and ConsoleMode::FG_GREEN.
MetaOutput::log | ( | $ | text, | |
$ | bold = false | |||
) |
Definition at line 45 of file MetaOutput.class.php.
References defaultText(), and ConsoleMode::FG_WHITE.
MetaOutput::logLine | ( | $ | text, | |
$ | bold = false | |||
) |
Definition at line 53 of file MetaOutput.class.php.
References defaultTextLine(), and ConsoleMode::FG_WHITE.
MetaOutput::newLine | ( | ) |
Definition at line 35 of file MetaOutput.class.php.
MetaOutput::remark | ( | $ | text | ) |
Definition at line 109 of file MetaOutput.class.php.
References defaultText(), and ConsoleMode::FG_BLUE.
MetaOutput::remarkLine | ( | $ | text | ) |
Definition at line 117 of file MetaOutput.class.php.
References defaultTextLine(), and ConsoleMode::FG_BLUE.
MetaOutput::warning | ( | $ | text | ) |
Definition at line 77 of file MetaOutput.class.php.
References defaultText(), and ConsoleMode::FG_BROWN.
MetaOutput::warningLine | ( | $ | text | ) |
Definition at line 85 of file MetaOutput.class.php.
References defaultTextLine(), and ConsoleMode::FG_BROWN.
MetaOutput::$out = null [private] |
Definition at line 17 of file MetaOutput.class.php.