Also, bear in mind that all your controllers should be subclassing
app_controller, and that the before filter (and component startup
actions) have a reference to the current controller, meaning that you
can call set() if you just need to pass the data to your views. You
only need to use the local variable technique if your sub-class
controllers also need to manipulate the data before passing it through
to a view.

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