Try the actionStack Plugin

2008/11/8 debussy007 <[EMAIL PROTECTED]>:
>
> Hi,
>
> How can I execute several actions from one action:
>
> the follwing test will print:
> index A
> index B
> index C
> test 2 !
>
> I was expecting it to be
> index A
> test 1 !
> index B
> test 2 !
> index C
>
> function indexAction() {
>        $this->logger->debug('index A');
>        $this->_forward('test1');
>        $this->logger->debug('index B');
>        $this->_forward('test2');
>        $this->logger->debug('index C');
> }
> function test1Action() {
>        $this->_helper->viewRenderer->setNoRender();
>        $this->logger->debug('test 1 !');
> }
> function test2Action() {
>        $this->_helper->viewRenderer->setNoRender();
>        $this->logger->debug('test 2 !');
> }
>
>
> Thank you for any help
> --
> View this message in context: 
> http://www.nabble.com/forward%28%29--question-tp20398758p20398758.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>



-- 
----------------------------------------------------------------------
[MuTe]
----------------------------------------------------------------------

Reply via email to