Just found it. There is an equivalent: $pager->setCountQuery($query, [params])
The only thing you need to do is in your pagination navigation helper: $pagerRange = $pager->getRange('Sliding',array('chunk' => 5)); $pages = $pagerRange->rangeAroundPage(); foreach ($pages as $page) On Tue, Sep 14, 2010 at 3:15 PM, ScherlOMatic <stefan.scherbich...@gmail.com > wrote: > Hi! > > I took a look on the api (http://www.symfony-project.org/api/1_4/ > sfDoctrinePager) and as you can see there is no equivalent. > > Maybe you could give us some more information about what you want to > do, because it's been nearly a year since I worked with Propel. > > > Ciao > > On 14 Sep., 13:43, Social It <social....@gmail.com> wrote: > > In propel setPeerCountMethod is used to change the count query in > > pagination. Does anybody know its equivalent in doctrine? > > -- > 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<symfony-users%2bunsubscr...@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