On Mon, May 11, 2009 at 8:26 AM, Toby <[email protected]> wrote: > > Thanks for the advice majna. > > This leads be to ask whether the array('controller'=>'menus', > 'action'=>'main') can/should be a private function? And should it > just return the unmodified response to a find('all') call?
It must be a public method to be called from outside the controller. > Also, is there a way to clear the cache programmatically, so that when > the menu items are updated, the new values appear immediately? Have a look at this article: http://www.endyourif.com/caching-queries-in-cakephp/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
