Thank you Jon, this is the second time I get replied from you and
you've always been extremely kind!
I understood your code but it does not seems to me like the righteous
MVC way, so I think I'll be using a different approach. I had to code
a pagination method to work with HABTM relationships and I'm gonna use
it to replace CakePHP native pagination. This could seems like killing
flies with a bazooka but I prefer this way than messing up the code.

Thanks again Jon


On 8 Set, 16:01, Jon Bennett <[email protected]> wrote:
> > Here's a bit of code, had to strip out of a project, so it won't work
> > out-of-the-box,http://pastie.org/609566
>
> I should point out that the pagination is being outputted as JSON,
> hence why I caching the paginator data as an array and not html.
>
> jb
>
> --
>
> jon bennett
> w:http://www.jben.net/
> iChat (AIM): jbendotnet Skype: jon-bennett
--~--~---------~--~----~------------~-------~--~----~
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