*
* @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, 2008 Roland Haeder, 2009 Installation-Wizard Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
// Create a new request object
$requestInstance = ObjectFactory::createObjectByName('HttpRequest');
+ // Remember request instance here
+ $this->setRequestInstance($requestInstance);
+
// Default response is HTTP (HTML page) and type is "Web"
$response = "http";
$responseType = "web";
$responseClass = sprintf("%sResponse", $this->convertToClassName($response));
$responseInstance = ObjectFactory::createObjectByName($responseClass, array($this));
- // Remember both in this application
- $this->setRequestInstance($requestInstance);
+ // Remember response instance here
$this->setResponseInstance($responseInstance);
// Get the parameter from the request