Saturday, April 28, 2012

Re: Paginating cached data

How about using array_slice()? I guess you'd also need your own
ArrayPaginatorComponent|Helper.

On Sat, Apr 28, 2012 at 8:49 AM, Jeremy Burns
<jeremyburns@classoutfit.com> wrote:
> I have a function that does a whole bunch of complex finds and calculations
> to produce an array, which is then cached. Some of the array keys contain
> meta data about how the calculation was done and some high level contents of
> the results. One of the array keys contains the actual results that I want
> to display and paginate. How can I read that array key from cache and
> paginate it in a view?
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at
> http://groups.google.com/group/cake-php

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: