コード例 #1
0
ファイル: wprc-model.php プロジェクト: adisonc/MaineLearning
 public static function getInstance()
 {
     if (self::$instance === null) {
         self::$instance = new WPRC_Model();
     }
     return self::$instance;
 }
コード例 #2
0
 /**
  * Class constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->table_name = $this->wpdb->prefix . WPRC_DB_TABLE_CACHED_REQUESTS;
 }
コード例 #3
0
 /**
  * Class constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->table_name = $this->wpdb->prefix . WPRC_DB_TABLE_EXTENSIONS;
 }
コード例 #4
0
 /**
  * Class constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->table_name = $this->wpdb->prefix . WPRC_DB_TABLE_REPOSITORIES_RELATIONSHIPS;
 }
コード例 #5
0
 /**
  * Class constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->repository_table = $this->wpdb->prefix . WPRC_DB_TABLE_REPOSITORIES;
 }