Ejemplo n.º 1
0
 public function internalRedirect(WebLocation $webLocation, $status = 302)
 {
     $uniqid = uniqid();
     $webLocation->setParameters(array_merge($webLocation->getParameters(), array(ViewState::REQUEST_PARAM_NAME => $uniqid)));
     $this->get('session')->set($uniqid, $this->getViewState()->getData());
     $url = "TO-DO";
     // $this->generateUrl($routeData['route'], $params)
     return parent::redirect($url, $status);
 }
Ejemplo n.º 2
0
 /**
  * {@inheritDoc}
  */
 public function generate(WebLocation $location, $referenceType = self::ABSOLUTE_PATH)
 {
     return $location->generateUrlWith($this, $referenceType);
 }