On 06/08/07, Jon Bennett <[EMAIL PROTECTED]> wrote:
> > Is it possible just to paginate an array without a model? Something
> > like $this->paginate($array); where $array is just a collection of
> > data and not a model... If not with the plain pagination could
> > somebody shed any light on how they would go about it?
>
> you won't get the sorting links etc, but you could certainly use the
> 1.1 pagination helper, from here:
>
> http://cakeforge.org/snippet/detail.php?type=snippet&id=72
>
> something like http://bin.cakephp.org/view/1975955480 might do it?

forgot to say you'll need to use the 'page' var as the start point,
have updated the paste.

hth

j

>
> hth
>
> jon
>
> --
>
> jon bennett
> w: http://www.jben.net/
> iChat (AIM): jbendotnet Skype: jon-bennett
>


-- 

jon bennett
w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to