Esempio n. 1
0
 /**
  * Construct a new Joppa request
  * @param string $baseUrl the base url of the request
  * @param joppa\model\Node $node The node of this request
  * @param string $controllerName the full name of the controller class (including namespace)
  * @param string $actionName the action method in the controller class
  * @param array $parameters an array containing the parameters for the action method
  * @return null
  */
 public function __construct($baseUrl, Node $node, $controllerName, $actionName, array $parameters)
 {
     $basePath = $baseUrl . Request::QUERY_SEPARATOR . $node->getRoute();
     parent::__construct($baseUrl, $basePath, $controllerName, $actionName, $parameters);
     $this->setNode($node);
 }