gMail-27 wrote:
Can I get an action controller instance from within a controller
plugin (class MyPlugin extends Zend_Controller_Plugin_Abstract).
You may use response object:
class MyController ...
{
protected $_layout = 'default';
...
function getLayout()
{
return
Hello all,
Can I get an action controller instance from within a controller
plugin (class MyPlugin extends Zend_Controller_Plugin_Abstract).
The method, described in the manual, seems to be no longer valid:
$dispatcher = Zend_Controller_Front::getInstance()-getDispatcher();