* @version 0.0.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- * @link http://www.ship-simu.org
+ * @link http://www.ship-simu.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
$this->setObjectDescription("Application-Helper");
// Create an unique ID
- $this->createUniqueID();
+ $this->generateUniqueId();
// Tidy up a little
$this->removeSystemArray();
*/
public final function entryPoint () {
// Create a new request object
- $requestInstance = HttpRequest::createHttpRequest();
+ $requestInstance = ObjectFactory::createObjectByName('HttpRequest');
// ... and a new response object
$responseInstance = HttpResponse::createHttpResponse($this);
// Get a resolver
$resolverInstance = WebControllerResolver::createWebControllerResolver($commandName, $this);
- // Get a new controller instance as well
+ // Get a controller instance as well
$this->controllerInstance = $resolverInstance->resolveCommandController();
// Handle the request
* @return void
*/
public function handleFatalMessages (array $messageList) {
- die("<pre>".print_r($messageList, true)."</pre>");
+ // Walk through all messages
+ foreach ($messageList as $message) {
+ print("MSG:".$message."<br />\n");
+ }
}
}