Just found this link, give it a read also, maybe it can help you. http://groups.google.com/group/cake-php/browse_frm/thread/8cbf01f7a9acda57/9e84f7aacbf3cd85?#9e84f7aacbf3cd85
On Aug 1, 9:32 am, rtconner <[EMAIL PROTECTED]> wrote: > Yeah I'm doubting anyone has a good answer for you. > > "Is there any way to just pass an array into 1.2's paginate function > and have it paginate the data?" > > No. Sorry. > > If you work hard enough, likely I'm thinking you can join the tables > you want to join. I came across this once, and I kind of ended up > writing a "fake_paginate" method to do it. Not a great idea. Another > thing, I've never tried, but have been meaning to try is this: In your > relationship definitions in your models.. I'm theorizing you can write > some combination of finderQuery and counterQuery and then paginate > will use them and happily work. These are area I've never really > explored so really I have no idea if they'll work. It's just a theory > I have. > > -Rob Conner > > On Aug 1, 9:19 am, kionae <[EMAIL PROTECTED]> wrote: > > > No one knows? > > > On Jul 30, 3:48 pm, kionae <[EMAIL PROTECTED]> 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 -~----------~----~----~----~------~----~------~--~---