maybe the blog entry can help you out http://www.symfony-project.org/blog/2008/09/04/new-in-symfony-1-2-toward-a-restful-architecture-part-1
On 11 Sep., 14:22, Sumedh <[EMAIL PROTECTED]> wrote: > Thanks Fabian... > > If there is some detailed page somewhere on web, about how to do this > in 1.0...could you please point me to it? :D > > On Sep 11, 3:42 pm, "Fabian Lange" <[EMAIL PROTECTED]> > wrote: > > > > > Hi, > > in 1.0 you cannot do this cleanly, works only with some very ugly hacks that > > involve overriding the routing class to get access to private methods and > > manually modifiing current route state. > > From 1.1 on you can do so by invoking > > $route = > > sfContext::getInstance()->getRouting()->findRoute($your_db_route_string); > > which will return you an array containg the yml information. > > I am not sure how this will be for 1.2 as Fabien is currently refactoring > > this part, but I assume that you will have the same capabilities there. > > > Regards > > .: Fabian > > > On Thu, Sep 11, 2008 at 12:22 PM, brajesh <[EMAIL PROTECTED]> wrote: > > > > Hi friends, > > > > Can we use the routing module's parsing code, for parsing some URL's > > > on demand? > > > > For example, I have a URL stored in DB...I need to parse it using the > > > same rules that I have defined in routing.yml... > > > > Thanks...- Zitierten Text ausblenden - > > - Zitierten Text anzeigen - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---