Try this solution:

$url=sfContext::getInstance()->getController()->genUrl($uri);

msykora

On May 14, 6:46 pm, Nicolas CHARLOT <[EMAIL PROTECTED]> wrote:
> Hi,
> I've to generate an URL by an Internal URI.
> In an action, we can do :
> $this->getController::genUrl($uri);
> But what about a model class ?
> Thanks,
> --
> Nico


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
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