Ok, thanks for the advice On Sunday, November 21, 2010, Fabien Potencier <fabien.potenc...@symfony-project.com> wrote: > On 11/21/10 8:22 PM, noel guilbert wrote: > > You can get it through the _view variable: > > {{ _view.request.getParameter('page') }} > > > Never use _view. It's not documented and can be removed any time. > > Fabien > > > ++ > Noel > > On Sun, Nov 21, 2010 at 7:58 PM, Francis Besset <francis.bes...@free.fr > <mailto:francis.bes...@free.fr>> wrote: > > Hi all, > > I am currently creating my project with Symfony2. > I started making templates with PHP but I want to migrate on Twig. > > How can I access at the instance Request in the twig template? > With PHP there is $view['request']. > > > Thanks, > Francis. > > -- > If you want to report a vulnerability issue on symfony, please send > it to security at symfony-project.com <http://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 > <mailto:symfony-users@googlegroups.com> > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > <mailto:symfony-users%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > > > > > -- > Noël GUILBERT > http://www.noelguilbert.com/ > Twitter : http://twitter.com/noelguilbert > http://www.sensiolabs.com > http://www.symfony-project.com > Sensio Labs > Tél: +33 1 40 99 80 80 > > -- > 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 >
-- Noël GUILBERT http://www.noelguilbert.com/ Twitter : http://twitter.com/noelguilbert http://www.sensiolabs.com http://www.symfony-project.com Sensio Labs Tél: +33 1 40 99 80 80 -- 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