[symfony-users] Re: how to get the module name bu giving a route name

2009-09-03 Thread Ahsanul
Would be glad if anyone could help! --~--~-~--~~~---~--~~ 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

[symfony-users] Re: how to get the module name bu giving a route name

2009-09-03 Thread Thomas Rabaix
$routes = sfContext::getInstance()-getRouting()-getRoutes(); $route = $routes['Zip']; You can then have access to the sfRoute object On Thu, Sep 3, 2009 at 12:51 PM, Ahsanul ahsanu...@gmail.com wrote: Would be glad if anyone could help! -- Thomas Rabaix http://rabaix.net

[symfony-users] Re: how to get the module name bu giving a route name

2009-09-03 Thread Germana Oliveira
Question: Why do you need to know the route??? is it important?? or you just want to know the module name?? Thomas Rabaix escribió: $routes = sfContext::getInstance()-getRouting()-getRoutes(); $route = $routes['Zip']; You can then have access to the sfRoute object On Thu, Sep 3, 2009