Thanks - can a helper interrogate the database (which is a key requirement)?
Jeremy Burns [email protected] (Skype) +44 208 123 3822 (jeremy_burns) (m) +44 7973 481949 (h) +44 208 530 7573 On 13 Nov 2009, at 15:37, Marcelo Andrade wrote: > On Fri, Nov 13, 2009 at 12:25 PM, jburns <[email protected]> wrote: >> No responses to this yet - any ideas please? >> >> On Nov 11, 8:44 am, jburns <[email protected]> wrote: >>> I want to write somecodethat can be passed some variables, then >>> reads data from a table (menus) and produces some html (one or more >>> ULs) to display as a dynamic and context sensitive navigation bar. The >>> ULs will most probably be displayed in an element as they will appear >>> on every view. >>> >>> I'm not sure if thisshouldbe a plugin, a component or a helper. Some >>> advice would be much appreciated. > > I think if it outputs html code, it should be in a helper. > > Best regards. > > -- > MARCELO DE F. ANDRADE > Belem, PA, Amazonia, Brazil > Linux User #221105 > > -- > > 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=. > > -- 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=.
