You are here

function ARC_api::store_exists in Taxonomy import/export via XML 5.2

Same name and namespace in other branches
  1. 5 arc/ARC_api.php \ARC_api::store_exists()
  2. 6.2 arc/ARC_api.php \ARC_api::store_exists()
  3. 6 arc/ARC_api.php \ARC_api::store_exists()

File

arc/ARC_api.php, line 239

Class

ARC_api

Code

function store_exists() {
  $tbl_name = $this->config["prefix"] . "_id2val";
  if (!mysql_query("SELECT 1 FROM " . $tbl_name . " LIMIT 0")) {

    /* table does not exist */
    return false;
  }
  return true;
}