Yes that i found but where should it get the array from ?

On Feb 19, 4:17 pm, "Jon Bennett" <[EMAIL PROTECTED]> wrote:
> > Hi i am trying to make a menu, it renders fine in the default.thtml
> > but how can i get data in the menu.thtml. Does it get's it's data from
> > a component or a controller ? as i see that for example pagination is
> > stored under app/pagination and not under controller or models ?
> > I can't find anything about how to feed elements data from the db in
> > the manuel :(
>
> echo $this->renderElement ('element_name',array('data'=>$viewvar));
>
> hth
>
> jon
>
> --
>
> jon bennett
> t: +44 (0) 1225 341 039 w:http://www.jben.net/
> iChat (AIM): jbendotnet Skype: jon-bennett


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to