Hi Stof, Oh, ofcaurse.. thanks a lot.
Best regards, Michael Holm On Wed, May 25, 2011 at 3:46 PM, Christophe COEVOET <s...@notk.org> wrote: > Le 25/05/2011 15:45, Michael Holm a écrit : > > Hi, > > In symfony2, if i want to request some code on all page requests.. how > can i do that in symfony 2? It was quite easy in sf1, just create a > filter.. > > But, how can i do that in symfony2? Are there anything that i can do > in order to lets say: > > insert a query in a database on every single page request? > > Best regards, > Michael Holm > > You can use an event listener. The onCoreRequest event is triggered at the > beginning of the request. > > -- > Christophe | Stof > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > 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 > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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 symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en