I would create an element with a requestAction on the SheetsController that would handle the data retrieval. You might consider caching as well, if your data do not change too often.
On Dec 14, 8:30 am, LoKi <[EMAIL PROTECTED]> wrote: > Hi, i'm beginner in cakephp. > I would like to include a data list from a model named "Sheet" (with > the method "$this->Sheet->get_list()") in an element included on my > default layout. > > I guess my solution is using helpers or components...? > > I don't know what solution is the most clean. > > Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
