public function init()
 {
     parent::init();
     $this->_helper->contextSwitch()->initContext('xml');
     Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer')->setNoRender(true);
     $this->getHelper('layout')->disableLayout();
 }
 public function init()
 {
     $this->model = Api_Models_Concepts::factory()->setQueryParams($this->getRequest()->getParams());
     parent::init();
     $this->_helper->contextSwitch()->initContext($this->getRequest()->getParam('format', 'json'));
     $this->view->setEncoding('UTF-8');
 }
 public function init()
 {
     parent::init();
     $this->_helper->contextSwitch()->initContext($this->getRequestedFormat());
     if ('html' == $this->_helper->contextSwitch()->getCurrentContext()) {
         //enable layout:
         $this->getHelper('layout')->enableLayout();
     }
 }
 public function init()
 {
     parent::init();
     $this->model = Api_Models_Concepts::factory()->setQueryParams($this->getRequest()->getParams());
     $this->_helper->contextSwitch()->initContext($this->getRequestedFormat());
     if ('html' == $this->_helper->contextSwitch()->getCurrentContext()) {
         //enable layout:
         $this->getHelper('layout')->enableLayout();
     }
 }