On Thu, Sep 4, 2008 at 08:32, Jim Pringle <[EMAIL PROTECTED]> wrote:
> Been using Code Igniter for years and feeling out ZF. Just trying to figure
> out how i can render a "view" into a variable so I can echo it out in the
> template.  Any thoughts?  Thanks!


You can use layout as template:

In action:

$this->_helper->viewRenderer->setResponseSegment('menu');

In layout:
echo $this->layout()->menu

You can use action stack to do multiple actions.

-- 
Paweł Chuchmała
pawel.chuchmala at gmail dot com

Reply via email to