On the topic of setting vars in an element, regardless of it being wrong or not, the point is that it's possible. At least the doc says so, but it's not working for me (the Var::set() method).
You may have an element that gets data from requestAction and, depending on the returned values, subsecuent layout contents will need different vars defined.
-- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment