コード例 #1
0
ファイル: ssb_table.php プロジェクト: gittrue/VIF
 public static function getInstance()
 {
     if (self::$Instance == NULL) {
         $class = __CLASS__;
         self::$Instance = new $class();
     }
     return self::$Instance;
 }
コード例 #2
0
ファイル: ssb_site_map.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/ssb_data.php';
     $this->ssb_data = ssb_data::getInstance();
     require_once DIR_CONFIG . 'ssb_library/ssb_table.php';
     $this->ssb_table = ssb_table::getInstance();
     $this->ssb_setting = $this->ssb_data->getSetting();
 }
コード例 #3
0
ファイル: superseobox.php プロジェクト: gittrue/VIF
 function __construct()
 {
     global $registry;
     parent::__construct($registry);
     require_once DIR_CONFIG . 'ssb_library/ssb_data.php';
     $this->ssb_data = ssb_data::getInstance();
     require_once DIR_CONFIG . 'ssb_library/ssb_table.php';
     $this->ssb_table = ssb_table::getInstance();
     require_once DIR_CONFIG . 'ssb_library/ssb_helper.php';
     $this->ssb_helper = ssb_helper::getInstance();
     $this->verOC = $this->ssb_helper->getVerOC();
     require_once DIR_CONFIG . 'ssb_library/ssb_category_template.php';
     $this->ssb_category_template = ssb_category_template::getInstance();
 }