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