コード例 #1
0
ファイル: glob_set.php プロジェクト: gittrue/VIF
 public static function getInstance()
 {
     if (self::$Instance == NULL) {
         $class = __CLASS__;
         self::$Instance = new $class();
     }
     return self::$Instance;
 }
コード例 #2
0
ファイル: ssb_helper.php プロジェクト: gittrue/VIF
 function __construct()
 {
     global $registry;
     parent::__construct($registry);
     $this->verOC = $this->getVerOC();
     require_once DIR_CONFIG . 'ssb_library/glob_set.php';
     $this->glob_set = glob_set::getInstance();
 }
コード例 #3
0
ファイル: gen_urls.php プロジェクト: gittrue/VIF
 function __construct()
 {
     global $registry;
     parent::__construct($registry);
     require_once DIR_CONFIG . 'ssb_library/ssb_helper.php';
     $this->ssb_helper = ssb_helper::getInstance();
     require_once DIR_CONFIG . 'ssb_library/admin/generators/gen_helper.php';
     $this->gen_helper = gen_helper::getInstance();
     require_once DIR_CONFIG . 'ssb_library/admin/transliteration/transliteration.php';
     $this->transliteration = transliteration::getInstance();
     require_once DIR_CONFIG . 'ssb_library/glob_set.php';
     $this->glob_set = glob_set::getInstance();
     require_once DIR_CONFIG . 'ssb_library/ssb_data.php';
     $this->ssb_data = ssb_data::getInstance();
 }