Yes I looked at the custom query pagination; but the reason that is no
good is in the title 'query'. I'm not doing a query on a database I've
already got my data set that I want to paginate.

Well I guess the custom query pagination is the way to go in that I'll
have to override the existing paginate and paginatecount methods and
write ones that don't try a database access. I would have rather not
had to go that route due to time & budget constraints. Oh well..

On Sep 7, 3:34 am, "Dr. Loboto" <[email protected]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to