*
* @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
*
/**
* Extra data
*/
- private $extraData = "";
+ private $extraData = '';
/**
* The super constructor for all exceptions
* @param $code An optional code for better debugging
* @return void
*/
- public function __construct($message, $code = 0) {
+ public function __construct ($message, $code = 0) {
// Extract backtrace
$this->saveBackTrace();
// Are there arguments?
if ((isset($dbgInfo['args'])) && (is_array($dbgInfo['args'])) && (isset($dbgInfo['args'][0]))) {
//* DEBUG: */ echo $dbgIndex.": <pre>".htmlentities(print_r($dbgInfo['args'], true))."</pre>";
- $info = "";
+ $info = '';
foreach ($dbgInfo['args'] as $debug) {
// Add only non-array elements
if (!is_array($debug)) {