Had a look, I think its best to add a field - that was my last option
though...
Thanks for help though.. :)


On Jun 14, 9:18 am, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> On Fri, Jun 13, 2008 at 7:36 PM, Abhimanyu Grover <[EMAIL PROTECTED]>
> wrote:
>
> > Is there any workaround I can do?
> > assuming popularity is returned by this $this->Link-
> > >getPopularity($linkId)
>
> Check out the Aggregator and Aggregatable behaviors in Bakery.
>
> Once you have sorted out a few bugs - it should work for you and if the
> popularity calculation at runtime is not a life and dead situation I would
> suggest cache the value in in the link model
>
> Writing custom paginate functions is also an option.
>
> HTH
>
> Tarique
>
> P.S. Bakery was not accepting comments yesterday - I tried posting fixes
>
> --
> =============================================================
> Cheesecake-Photoblog:http://cheesecake-photoblog.org
> PHP for E-Biz:http://sanisoft.com
> =============================================================
--~--~---------~--~----~------------~-------~--~----~
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