When the referrer clicks theurl it will link to your symfony application right? In that case you can use a post filter checking the request object to see what the module is that was called.
http://www.symfony-project.org/book/1_2/06-Inside-the-Controller-Layer#chapter_06_filters On Wed, Jan 20, 2010 at 2:13 PM, Bruno Reis <bruno.p.r...@gmail.com> wrote: > Thanks, but how can I use it to know the module? > This is an abstract method and the docs says it "Parses a URL to find a > matching route and sets internal state." > > I don´t need to set internal state, I need to know what is the module. Can > you post some code that shows how can I find the module name from an URL? > > > > 2010/1/20 Stéphane <stephane.er...@gmail.com> >> >> sfRouting::parse() >> http://www.symfony-project.org/api/1_4/sfRouting >> >> Before Printing, Think about Your Environmental Responsibility! >> Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! >> >> >> On Wed, Jan 20, 2010 at 12:49 PM, Bruno Reis <bruno.p.r...@gmail.com> >> wrote: >>> >>> Any ideas on this? >>> >>> 2010/1/15 Bruno Reis <bruno.p.r...@gmail.com> >>>> >>>> Hi, >>>> >>>> I have a referer url and I want to identify what is the module from that >>>> url. So I will need to parse this url the same way symfony does it on it´s >>>> routing or front controller. How can I parse a string containing a URL to >>>> know what is the module in it considering the actual defined routing >>>> configuration? >>>> >>>> Thanks, >>>> Bruno >>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "symfony users" group. >>> To post to this group, send email to symfony-us...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> symfony-users+unsubscr...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/symfony-users?hl=en. >>> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "symfony users" group. >> To post to this group, send email to symfony-us...@googlegroups.com. >> To unsubscribe from this group, send email to >> symfony-users+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/symfony-users?hl=en. >> > > > -- > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to symfony-us...@googlegroups.com. > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en. > > -- Gareth McCumskey http://garethmccumskey.blogspot.com twitter: @garethmcc
-- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.