]> git.mxchange.org Git - mailer.git/blobdiff - inc/classes/main/output/class_WebOutput.php
Code base synced
[mailer.git] / inc / classes / main / output / class_WebOutput.php
index 6c86b6266a692ec069c6587eb2cdc8903a71f6d8..e82c0b7af1e265543e91ce0351c825806b1b560a 100644 (file)
@@ -5,9 +5,9 @@
  *
  * @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
@@ -36,12 +36,6 @@ class WebOutput extends BaseFrameworkSystem implements OutputStreamer, Registera
        protected function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
-
-               // Set description
-               $this->setObjectDescription("Class for web output e.g. XHTML code");
-
-               // Create an unique ID
-               $this->generateUniqueId();
        }
 
        /**
@@ -90,7 +84,7 @@ class WebOutput extends BaseFrameworkSystem implements OutputStreamer, Registera
         * @return      void
         */
        public final function output ($outStream=false) {
-               print $outStream;
+               print(stripslashes($outStream));
        }
 }