fantastic, thanks for the heads up.

On 21/08/06, Samuel DeVore <[EMAIL PROTECTED]> wrote:
>
> You, my good sir, are a tease  ;)
> On 8/20/06, nate <[EMAIL PROTECTED]> wrote:
> >
> > Pagination is being added to the core in Cake 1.2.  Using 1.2 you can
> > set up basic pagination on models or associated models by doing the
> > following in your controller:
> >
> > var $paginate = array('limit' => 20, 'order' => ...); // Anything you
> > can pass to Model::findAll can be set here
> >
> > That's to set the defaults, which can be overridden in POST or URL
> > parameters.  You can retrieve the records using the paginate( ) method
> > in your actions, as follows:
> >
> > $this->paginate('ImageVersion', $this->params); // Assuming
> > $this->params contains named arguments like 'page', etc.
> >
> > Sorry, there isn't any documentation on this yet, and the API isn't
> > even finalized.  I will be working on this, as well as a helper to
> > render pagination links in the coming week.
> >
> >
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to