コード例 #1
0
ファイル: NgsLoad.class.php プロジェクト: pars5555/hqv
 public function initialize()
 {
     parent::initialize();
     $lm = TranslationManager::getInstance();
     $this->addParam("lm", $lm);
     $this->addParam("loadName", NGS()->getRoutesEngine()->getPackage());
 }
コード例 #2
0
ファイル: BaseLoad.class.php プロジェクト: pars5555/hqv
 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);
 }
コード例 #3
0
ファイル: NgsLoad.class.php プロジェクト: pars5555/crm
 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);
 }
コード例 #4
0
ファイル: BaseLoad.class.php プロジェクト: pars5555/hqv
 public function initialize()
 {
     parent::initialize();
 }