/**
  * (non-PHPDoc)
  * @see \Icinga\Web\Controller\ActionController::postDispatchXhr() For the method documentation.
  */
 public function postDispatchXhr()
 {
     parent::postDispatchXhr();
     $this->getResponse()->setHeader('X-Icinga-Module', $this->getModuleName(), true);
 }
 /**
  *  Initialize the controller and collect all tabs for it from the application and it's modules
  *
  *  @see ActionController::init()
  */
 public function init()
 {
     parent::init();
     $this->view->tabs = ControllerTabCollector::collectControllerTabs('PreferenceController');
 }