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 li
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 s
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 wrote:
> Hey guys, running into a cheesy error with sf propel
http://www.symfony-project.org/forum/index.php/t/14991/
I did this a few days ago, see it.
On 11 ago, 03:29, "roman.svet" <[EMAIL PROTECTED]> wrote:
> Hi to all,
>
> I have a page with list of articles. Page should be in two languages.
> I used the following code to create pager on my page.
>
> $
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 thi
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.
>