by default paginator in 1.2 is doing a findAll with the conditions that you give him but if that's not enough for you then you can declare a paginate function in your model that will be used instead of findAll ( http://api.cakephp.org/1.2/libs_2controller_2controller_8php-source.html#l01100 ) you should also define a paginateCount() function in your model. You've got the params in the API. I suggest using it :) it's a powerfull tool.
greets, On Aug 1, 5:19 pm, 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 -~----------~----~----~----~------~----~------~--~---