*
* @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 - 2009 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
/**
* 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
/**
* 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
+ * @param $var The variable we shall assign
+ * @param $value The value to store in the variable
* @return void
*/
public final function assignVariable ($var, $value) {
*
* @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);