//xdebug_start_trace();
/**
* The main class with the entry point to the whole application. This class
- * "emulates" Java(tm)'s entry point call. Additionally it covers local
+ * "emulates" Java's entry point call. Additionally it covers local
* variables from outside access to prevent possible attacks on uninitialized
* local variables.
*
}
// Get and prepare backtrace for output
+ // @TODO Rewrite this to something "generic"
$backtraceArray = debug_backtrace();
$backtrace = "";
foreach ($backtraceArray as $key => $trace) {
} // END - if
// Assign variables
- $templateInstance->assignVariable('message', $message);
- $templateInstance->assignVariable('code', $code);
- $templateInstance->assignVariable('extra', $extraData);
- $templateInstance->assignVariable('backtrace', $backtrace);
+ $templateInstance->assignVariable('message' , $message);
+ $templateInstance->assignVariable('code' , $code);
+ $templateInstance->assignVariable('extra' , $extraData);
+ $templateInstance->assignVariable('backtrace' , $backtrace);
$templateInstance->assignVariable('total_includes', ClassLoader::getInstance()->getTotal());
- $templateInstance->assignVariable('total_objects', ObjectFactory::getTotal());
- $templateInstance->assignVariable('title', $lang->getMessage('emergency_exit_title'));
+ $templateInstance->assignVariable('total_objects' , ObjectFactory::getTotal());
+ $templateInstance->assignVariable('title' , $lang->getMessage('emergency_exit_title'));
// Load the template
$templateInstance->loadCodeTemplate('emergency_exit');
* The application's main entry point. This class isolates some local
* variables which shall not become visible to outside because of security
* concerns. We are doing this here to "emulate" the well-known entry
- * point in Java(tm).
+ * point in Java.
*
* @return void
*/