/**
  * init
  */
 public function init()
 {
     parent::init();
     if (!Security::get()->isAllowed('user_administration', Security::PRIVILEGE_VIEW)) {
         $this->_redirect('/zoolu');
     }
 }
 /**
  * init
  */
 public function init()
 {
     parent::init();
     if (!Security::get()->isAllowed('contacts', Security::PRIVILEGE_VIEW)) {
         $this->_redirect('/zoolu');
     }
 }
 /**
  * init
  * @author Cornelius Hansjakob <*****@*****.**>
  * @version 1.0
  * @return void
  */
 public function init()
 {
     parent::init();
     $this->objRequest = $this->getRequest();
     $this->intLanguageId = (int) $this->objRequest->getParam("languageId") > 0 ? (int) $this->objRequest->getParam("languageId") : $this->core->intZooluLanguageId;
     $this->view->assign('languageId', $this->intLanguageId);
 }
 /**
  * chek if this is an ajax-request
  */
 public function preDispatch()
 {
     if (!isset($_SERVER['HTTP_X_REQUESTED_WITH']) && !($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest')) {
         header('Location: http://' . $_SERVER['HTTP_HOST']);
         exit;
     }
     parent::preDispatch();
 }
 /**
  * init
  * @author Thomas Schedler <*****@*****.**>
  * @version 1.0
  * @return void
  */
 public function init()
 {
     parent::init();
     if (!Security::get()->isAllowed('global', Security::PRIVILEGE_VIEW)) {
         $this->_redirect('/zoolu');
     }
     $this->objRequest = $this->getRequest();
 }
 /**
  * init
  * @author Cornelius Hansjakob <*****@*****.**>
  * @version 1.0
  * @return void
  */
 public function init()
 {
     parent::init();
     Security::get()->addFoldersToAcl($this->getModelFolders());
     Security::get()->addRootLevelsToAcl($this->getModelFolders(), $this->core->sysConfig->modules->contacts);
 }
 /**
  * init
  * @author Thomas Schedler <*****@*****.**>
  * @version 1.0
  * @return void
  */
 public function init()
 {
     parent::init();
     if (!Security::get()->isAllowed('portals', Security::PRIVILEGE_VIEW)) {
         $blnCrossSidePrivilege = $this->getRequest()->isXmlHttpRequest() && Security::get()->isAllowed('global', Security::PRIVILEGE_VIEW) && strpos($this->getRequest()->getActionName(), 'get') === 0 ? true : false;
         if (!$blnCrossSidePrivilege) {
             $this->_redirect('/zoolu');
         }
     }
     $this->objRequest = $this->getRequest();
 }
 /**
  * init
  * @author Thomas Schedler <*****@*****.**>
  * @version 1.0
  * @return void
  */
 public function init()
 {
     parent::init();
     $this->objRequest = $this->getRequest();
 }
 /**
  * init
  * @author Thomas Schedler <*****@*****.**>
  * @version 1.0
  * @return void
  */
 public function init()
 {
     parent::init();
     $this->objRequest = $this->getRequest();
     $this->initCommandChain();
 }