Esempio n. 1
0
 public function init()
 {
     parent::init();
     $this->_contextSwitch = $this->_helper->getHelper('contextSwitch');
     if (!$this->_contextSwitch->hasContext('opml')) {
         $this->_contextSwitch->addContext('opml', array('suffix' => 'opml', 'headers' => array('Content-type' => 'text/xml')));
     }
     $this->_contextSwitch->addActionContext('view', array('rss', 'atom', 'opml'))->initContext();
 }
Esempio n. 2
0
 public function init()
 {
     parent::init();
     $this->_contextSwitch = $this->_helper->getHelper('contextSwitch');
     $this->_contextSwitch->addActionContext('result', array('rss', 'atom'))->initContext();
 }
Esempio n. 3
0
 public function init()
 {
     parent::init();
 }