Example #1
0
 public static function getInstance()
 {
     if (self::$instance === null) {
         self::$instance = new WPRC_Model();
     }
     return self::$instance;
 }
 /**
  * Class constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->table_name = $this->wpdb->prefix . WPRC_DB_TABLE_CACHED_REQUESTS;
 }
 /**
  * Class constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->table_name = $this->wpdb->prefix . WPRC_DB_TABLE_EXTENSIONS;
 }
 /**
  * Class constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->table_name = $this->wpdb->prefix . WPRC_DB_TABLE_REPOSITORIES_RELATIONSHIPS;
 }
 /**
  * Class constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->repository_table = $this->wpdb->prefix . WPRC_DB_TABLE_REPOSITORIES;
 }