*/
protected $executed = false;
- /**
- * controller object
- * @var object
- */
- protected $controller = null;
-
/**
* Creates a new request object.
*
public function execute() {
if (!$this->executed) {
$this->executed = true;
- $this->controller = new $this->className();
+ new $this->className();
}
}
public function getPageType() {
return $this->pageType;
}
-
- /**
- * Returns the controller of this request.
- *
- * @return object
- */
- public function getController() {
- return $this->controller;
- }
}