Hi fellow bakers,

I often need to pass presentation related data from the view to the
layout - for example, when the layout has somethign for every singel
page, that individual pages can customise / override.

So far, the best solution I've found is to set things in the view via
the viewVars array, which is accesible in the layout.

Does Cake provide a way to do this more elgantly? Is there a
View::passToLayout function?
If not, what would be the best practice for implementing such a thing?

Thanks in advance!




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to