hi all,
i have a controller action and i want it to be execute after any action.
i have written an action helper with this method:
public function postDispatch()
{
$actionstack = Zend_Controller_Action_HelperBroker::getStaticHelper('actionStack');
$actionstack->direct('myaction', 'mycontroller');
}
but it seems that it stuck in a loop.
what is wrong with my code?
thx in advance.