You can try custom query pagination. http://book.cakephp.org/view/249/Custom-Query-Pagination
On Sep 6, 11:53 pm, DavidH <[email protected]> wrote: > Hi > > I'm using CakePHP as a development framework; but my data is stored / > retrieved in documents from a Couch DB. I've written home grown > classes to access the Couch and have turned off Cake's desire for a > DBMS by creating my own dbo_source that just returns true making Cake > think it's connected OK. > > In my index action I can query a Couch view and get a data set back > and then massage it into a Cake array structure. I'd like to paginate > this before the index.ctp gets invoked; but paginate tries to get > things from the database and, of course, then methods it wants aren't > defined in my dbo_source file. > > Is there a way to say "Paginate this" and pass paginate an existing > cake array of data to paginate? > > Thanks > > David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
