]> git.mxchange.org Git - mailer.git/blobdiff - inc/classes/main/debug/class_DebugConsoleOutput.php
Code base synced
[mailer.git] / inc / classes / main / debug / class_DebugConsoleOutput.php
index e9be4a5910b617e06daa63f632f94a8614829f6b..08e6d426a892387e3107303f28d6afd0a7c0a78e 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A debug output class for the console (e.g. hub software)
  *
- * @author             Roland Haeder <webmaster@mxchange.org>
+ * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.ship-simu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class DebugConsoleOutput extends BaseFrameworkSystem implements Debugger, OutputStreamer {
+class DebugConsoleOutput extends BaseFrameworkSystem implements Debugger, OutputStreamer, Registerable {
        /**
         * Protected constructor
         *
@@ -30,12 +30,6 @@ class DebugConsoleOutput extends BaseFrameworkSystem implements Debugger, Output
        protected function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
-
-               // Set description
-               $this->setObjectDescription("Debug output for the console");
-
-               // Create an unique ID
-               $this->createUniqueID();
        }
 
        /**
@@ -58,7 +52,7 @@ class DebugConsoleOutput extends BaseFrameworkSystem implements Debugger, Output
         * @return      void
         */
        public final function outputStream ($output) {
-               print html_entity_decode(strip_tags($output));
+               print(html_entity_decode(strip_tags(stripslashes($output))));
        }
 
        /**