Beispiel #1
0
 public function initialize()
 {
     parent::initialize();
     $lm = TranslationManager::getInstance();
     $this->addParam("lm", $lm);
     $this->addParam("loadName", NGS()->getRoutesEngine()->getPackage());
 }
Beispiel #2
0
 public function initialize()
 {
     parent::initialize();
     $this->addParam('userId', NGS()->getSessionManager()->getUserId());
     $this->addParam('userType', NGS()->getSessionManager()->getUserType());
     $this->addParam('userTypeModerator', UserGroups::$MODERATOR);
     $this->addParam('userTypeAdmin', UserGroups::$ADMIN);
     $this->addParam('userTypeGuest', UserGroups::$GUEST);
 }
Beispiel #3
0
 public function initialize()
 {
     parent::initialize();
     $lm = TranslationManager::getInstance();
     $this->addParam('userId', NGS()->getSessionManager()->getUserId());
     $this->addParam('userType', NGS()->getSessionManager()->getUserType());
     $this->addParam('userTypeAdmin', UserGroups::$ADMIN);
     $this->addParam('userTypeGuest', UserGroups::$GUEST);
     $this->addParam("lm", $lm);
     $this->addParam("loadName", NGS()->getRoutesEngine()->getPackage());
     $this->addParam('showprofit', isset($_COOKIE['showprofit']) ? $_COOKIE['showprofit'] : 0);
 }
Beispiel #4
0
 public function initialize()
 {
     parent::initialize();
 }