Is there a way to do this in the bootstrap eg. with a helper or plugin? 
I would like to do this without having to modify what class my existing
controllers extend?
Thanks.
SWK


Ballsacian1 wrote:
> 
> I extended the Zend_Controller_Action to apply the Context helper to all
> my actions dynamically.
> init(){
> $contextSwitch = $this->_helper->getHelper('contextSwitch');
> $contextSwitch->addActionContext($this->getRequest()->getActionName(),
> array('json', 'xml'));
> $contextSwitch->initContext();        
> }
> 
> 

-- 
View this message in context: 
http://www.nabble.com/set-default-context-in-bootstrap-tp22130108p22241260.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to