|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| ColorTextReporter () | |
| paintFooter ($test_name) | |
| _setColor ($color) | |
| _resetColor () | |
Data Fields | |
| $_failColor = 41 | |
| $_passColor = 42 | |
Definition at line 27 of file colortext_reporter.php.
| _resetColor | ( | ) |
Resets the color back to normal.
protected
Definition at line 82 of file colortext_reporter.php.


| _setColor | ( | $ | color | ) |
Sets the terminal to an ANSI-standard $color
| int | protected |
Definition at line 72 of file colortext_reporter.php.

Handle initialization
| {@link | TextReporter} |
Definition at line 36 of file colortext_reporter.php.

| paintFooter | ( | $ | test_name | ) |
Capture the attempt to display the final test results and insert the ANSI-color codes in place.
| string |
Reimplemented from TextReporter.
Definition at line 48 of file colortext_reporter.php.

| $_failColor = 41 |
Definition at line 28 of file colortext_reporter.php.
| $_passColor = 42 |
Definition at line 29 of file colortext_reporter.php.