On 9/19/07, Joó Ádám <[EMAIL PROTECTED]> wrote:
> Why do you use dispatchLoopShutdown()? Views are already evaluated
> when you're trying to assign variables.
>
> Use the registry, I suggest.

I found the snippet within fw-general archives trying to look for a
way to access to view within the controller plugins.

Using the register would require that I have setup a view class
initially and then saved it. That is entirely possible and that was
the initial "suggestion" in the thread I found, but within the thread,
it was suggested to use the Zend_Controller_Action_HelperBroker and he
had it within the dispatchLoopShutdown() method.

Putting it in within the postDispatch() still doesn't work.

With that code, I have a view object. print_r($view) shows a full view
object, but apparently not the same one being used in with the
templates.

-- 
Philip
[EMAIL PROTECTED]
http://www.gpcentre.net/

Reply via email to