[symfony-users] Re: SFPropelPager

2010-10-26 Thread Richtermeister
Hey Parijat, no problem, the query I speak of is documented here (Propel15 - you should be able to use that right away, it's fully compatible). http://www.propelorm.org/wiki/Documentation/1.5/WhatsNew#ModelQueries Also, the $page variable I just threw in to illustrate. In reality it would look

[symfony-users] Re: SFPropelPager

2010-10-25 Thread Richtermeister
Hey there, without knowing exactly what your issue is, if you're using Propel15 (as you could and should ;) you can just use $query - paginate($page, $per_page); and that works guaranteed. Daniel On Oct 24, 11:05 pm, Parijat Kalia kaliapari...@gmail.com wrote: Hey guys, running into a cheesy

Re: [symfony-users] Re: SFPropelPager

2010-10-25 Thread Parijat Kalia
Daniel...thanks! Haven't encountered the paginate function as such in the walkthrough I referredhere is what I did: $pagerOp = new sfPropelPager('Questions',5); $pagerOp-setCriteria($c); $pagerOp-setPage($this-getRequestParameter('page', 1)); $pagerOp-init(); Not sure

[symfony-users] Re: sfPropelPager and LEFT JOINs

2007-04-02 Thread [EMAIL PROTECTED]
You should use $pager-setPeerMethod('doSelectJoin') ; and probably: $pager-setPeerCountMethod('doCountJoinXXX') ; Nautile On 2 avr, 17:00, Alexander Deruwe [EMAIL PROTECTED] wrote: Good afternoon, I'm puzzled by something... I'm using sfPropelPager to show data from a table. The

[symfony-users] Re: sfPropelPager and LEFT JOINs

2007-04-02 Thread Alexander Deruwe
On 02 Apr 2007, at 17:06, [EMAIL PROTECTED] wrote: You should use $pager-setPeerMethod('doSelectJoin') ; and probably: $pager-setPeerCountMethod('doCountJoinXXX') ; Yep, that was it! Thanks so much. Alexander --~--~-~--~~~---~--~~ You received this