[ZF] set/add view from controller action
- by user359650
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.