コード例 #1
0
ファイル: core.php プロジェクト: plenigo/plenigo_six_plugin
 /**
  * if mathods are used static, then init has to be called first
  */
 public static function init()
 {
     if (!self::$initialized) {
         self::$secret = self::PIO()->ConfigGetSet('secret');
         self::$companyId = self::PIO()->ConfigGetSet('companyId');
         //configure plenigo:
         if (class_exists('\\plenigo\\PlenigoManager')) {
             \plenigo\PlenigoManager::configure(self::$secret, self::$companyId);
         }
     }
     self::$initialized = true;
 }