While you may be using the correct method to access the vars, you have
to ask yourself why. If you tie a helper to a specific set a of data
it is not as reusuable. That said, I can see the scenario where you
have a component that handles some nifty stuff and then passes it to
the view. In this case, I have uses $this->params which is available
in the helpers. In the beforeRender() helper method of 1.2 you can
change use those params before the helper is used. We had talked for a
while about a startup() method in the helper that could receive the
viewVars, but at the end of the day, the situations when you should
use something like this are on the edges at best.

I trust you will use this power wisely young padawan. May the Cake be
with you.


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