]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/debug/class_DebugWebOutput.php
'public static final' is correct
[core.git] / inc / classes / main / debug / class_DebugWebOutput.php
index e34be08297a1a39713016278110cd774c59ee033..493463a1aefb2f221cfd35e7995dcf5b6a381a81 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007 - 2009 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -35,9 +35,9 @@ class DebugWebOutput extends BaseFrameworkSystem implements Debugger, OutputStre
        /**
         * Creates an instance of this class
         *
-        * @return      $debugInstance          The prepared debug instance
+        * @return      $debugInstance  The prepared debug instance
         */
-       public final static function createDebugWebOutput () {
+       public static final function createDebugWebOutput () {
                // Get a new instance
                $debugInstance = new DebugWebOutput();
 
@@ -48,33 +48,21 @@ class DebugWebOutput extends BaseFrameworkSystem implements Debugger, OutputStre
        /**
         * Outputs the given data directly
         *
-        * @param               $output The HTML output
+        * @param       $output         The HTML output
         * @return      void
         */
        public final function outputStream ($output) {
                // Strip out <br />
-               $output = str_replace("<br />", "", $output);
+               $output = str_replace("<br />", '', $output);
                print(stripslashes($output)."<br />\n");
        }
 
-       /**
-        * Assigns a variable for output
-        *
-        * @param               $var            The variable we shall assign
-        * @param               $value  The value to store in the variable
-        * @return      void
-        */
-       public final function assignVariable ($var, $value) {
-               // Empty stub!
-               trigger_error(__METHOD__.": Stub!");
-       }
-
        /**
         * Output the code
         *
         * @return      void
         */
-       public final function output ($outStream=false) {
+       public final function output ($outStream = false) {
                // Empty output will be silently ignored
                if ($outStream !== false) {
                        $this->outputStream($outStream);