Kiril Angov a écrit :
> $this->redirect($url, $statusCode) which means that you do not need to put 
> the hearder yourself to send the redirect with 301 but rather do 
> $this->redirect($url, 301)
>
> http://www.symfony-project.com/api/symfony/action/sfAction.html#method_redirect
>   
Thanks !
> For the second question: 
> http://www.symfony-project.com/api/symfony/request/sfWebRequest.html#method_getur
In fact, I want to avoid :

$this->getController()->genUrl(sfRouting::getInstance()->getCurrentInternalUri()
 
. '?fixedParam=' . $this->getRequestParameter('fixedParam'), true)

getUri () retrieves me the called URL...

I will simply have the new userfriendly url.

genUrl() do that with an Internal URI, but since my params aren't passed 
directly but by routing, I have to add by hand the param.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to