On 8/6/07, Chris Barna <[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?

Think laterally - while you cannot easily paginate non-model data you
can very easily create a model which does not hit the database at
all...


And all that you need in your model is a paginate method, well you
will need paginateCount or something similar but those are just
details

HTH

Tarique


-- 
=============================================================
Cheesecake-Photoblog: http://cheesecake-photoblog.org
PHP for E-Biz: http://sanisoft.com
=============================================================

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