3 * A debug output class for the console (e.g. hub software)
5 class DebugConsoleOutput extends BaseFrameworkSystem implements Debugger {
11 private function __construct () {
12 // Call parent constructor
13 parent::constructor(__CLASS__);
16 $this->setPartDescr("Debug-Ausgabe auf Konsole");
18 // Create an unique ID
19 $this->createUniqueID();
23 * Creates an instance of this class
25 * @return $debugInstance The prepared debug instance
27 public final static function createDebugConsoleOutput () {
29 $debugInstance = new DebugConsoleOutput();
32 return $debugInstance;
36 * Outputs the given data without HTML tags
38 * @param $output The HTML'ed output
41 public final function outputStream ($output) {
42 print html_entity_decode(strip_tags($output));