I have just entered the monastery. Please teach me: how do we paginate
database results in The Way?
I don't know about the idea of all my models having to extend something that
extends Zend_DB_table...what other ways to people recommend (before I go and
roll my own, he threatened)?
On 9/26/07, Waigani <[EMAIL PROTECTED]> wrote:
>
>
> Ah,
>
>
> My_Table extends Riskle_Db_Table{
> }
>
> and then put in 'new My_Table'
>
>
>
>
> Waigani wrote:
> >
> > Hi,
> >
> > Has anyone used Riskle's Paginate class? It looks very good.
> >
> >
> http://fashion.hosmoz.net/post/2007/09/23/Zend-Framework-Pagination-third-strike
> >
> > In the example:
> >
> > $table = new Riskle_Db_Table_Paginate(new Table,
> > $this->_getParam('page'));
> > $this->view->rowset = $table->fetchAll();
> >
> > I don't get what I'm meant to swap the 'new Table' with.
> >
>
> --
> View this message in context:
> http://www.nabble.com/Riskle-Paginate-tf4525848s16154.html#a12913158
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>
--
David Mintz
http://davidmintz.org/
The subtle source is clear and bright
The tributary streams flow through the darkness