-- daniel.stancu <[EMAIL PROTECTED]> wrote
(on Monday, 04 February 2008, 07:12 AM -0800):
> Could someone explain to me how to get the output of other controller/action
> from the current controller?

Use the action view helper:

    public function someAction
    {
        // Grab content from FooController::otherAction():
        $otherAction = $this->view->action('other', 'foo');

        // ...
    }

This assumes you're using either current svn trunk or the 1.5.0 Preview
Release.

-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to