You will have to overload the paginate method in your model. And then
in the model you could write your custom queries as required. Read the
code for more information.

Ketan.

kionae wrote:
> Is there any way to just pass an array into 1.2's paginate function
> and have it paginate the data?  Essentially, I have an array that is a
> set of search results returned by some custom queries and a bit of
> manipulation.  I couldn't generate the results I needed by going
> through $this->paginate because it wouldn't let me join tables, so I'm
> stuck with using the custom queries.
>
> I've seen other topics on this, but there didn't seem to be a clear
> answer (in fact I'm still not even sure this is possible after reading
> them all).


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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