X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fdebug%2Fclass_DebugWebOutput.php;h=e01ba0b9135c84957d644543da2a5245a7557050;hb=253b7896740f6146fe92f2caa85c52438c209ae7;hp=433f68e8b66d3505b622dcb12ad2900217ce7d21;hpb=c6d73b0e3246efc824cb98338d4be7ee5bc9f308;p=core.git diff --git a/inc/classes/main/debug/class_DebugWebOutput.php b/inc/classes/main/debug/class_DebugWebOutput.php index 433f68e8..e01ba0b9 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, 2008 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -35,7 +35,7 @@ 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 () { // Get a new instance @@ -48,20 +48,20 @@ 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
- $output = str_replace("
", "", $output); + $output = str_replace("
", '', $output); 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 + * @param $var The variable we shall assign + * @param $value The value to store in the variable * @return void */ public final function assignVariable ($var, $value) { @@ -74,7 +74,7 @@ class DebugWebOutput extends BaseFrameworkSystem implements Debugger, OutputStre * * @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);