Re: [fw-general] Zend Controller: get controller instance from within a plugin

2007-03-29 Thread Ivan Shumkov
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

[fw-general] Zend Controller: get controller instance from within a plugin

2007-03-28 Thread gMail
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();