Keep in mind - when you are doing $this->set from an element: You
aren't calling View::set - you are calling Element::set. Why would you
expect that to behave as if it was an instance of the View class when
it isn't? Also, the two pass rendering of CakePHP means that in order
for what you propose to work you would need a 3rd pass through the
stack of set variables and rendered elements before parsing the
combined view output. This isn't how Cake works and struggling this
much to force the framework to do something it isn't meant to is going
to simply be a waste of your time, either now - getting it to work -
or later when you have to support it.

On Sep 13, 6:36 am, Xoubaman <xouba...@gmail.com> wrote:
> I think doc needs a correction then, as Var::set doesn't work exactly
> analogous to Controller::set.

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to