set/add view from controller action

Posted by user359650 on Stack Overflow See other posts from Stack Overflow or by user359650
Published on 2010-06-15T10:52:21Z Indexed on 2010/06/16 17:52 UTC
Read the original article Hit count: 222

Filed under:
|
|

Hi all,

I'm trying to set a view script to be executed in addition to the currently requested action view script. I want to do this from the controller action itself in a way that this new view script output will be available from the layout $this->layout()->content helper.

I found the setView() method but don't know how to use it from the controller.

Thanks a lot.

© Stack Overflow or respective owner

Related posts about zend-framework

Related posts about view