Esempio n. 1
0
 public function initialize()
 {
     parent::initialize();
     $lm = TranslationManager::getInstance();
     $this->addParam("lm", $lm);
     $this->addParam("loadName", NGS()->getRoutesEngine()->getPackage());
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 4
0
 public function initialize()
 {
     parent::initialize();
 }