X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fdebug%2Fclass_DebugWebOutput.php;h=b7ac4f0abc5fa7f5424cf8f36053cdd14ca19b0b;hb=fc5010729854b1f9c9bc60249460d092ea6694b6;hp=7406574d42ba7a92c4d8622acc34d018cfab3c1a;hpb=3107989f93cfb5808ce9d75f1c7d2b7ee3d83d18;p=core.git diff --git a/inc/classes/main/debug/class_DebugWebOutput.php b/inc/classes/main/debug/class_DebugWebOutput.php index 7406574d..b7ac4f0a 100644 --- a/inc/classes/main/debug/class_DebugWebOutput.php +++ b/inc/classes/main/debug/class_DebugWebOutput.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007 - 2009 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 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,7 +48,7 @@ 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) { @@ -57,24 +57,12 @@ class DebugWebOutput extends BaseFrameworkSystem implements Debugger, OutputStre print(stripslashes($output)."
\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);