Wow that was easy - thanks Nate!
On Jan 25, 3:07 pm, "nate" <[EMAIL PROTECTED]> wrote:
> var $paginate = array("ModelName" => array("limit" => 20));
>
> function index() {
> $data = $this->paginate("ModelName");
> ...
>
> }On Jan 25, 2:08 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > I'm using the latest nightly of 1.2 (2007.01.24) and have a controller
> > that uses several models, none of which are the default. I'd like to
> > paginate search results on any of these models, but I'm not sure how to
> > tell the controller which model classes to use.
>
> > Does anyone know how to specify the model class to paginate in the
> > paginate() method?
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---