You are here

function ARC_api::get_query_handler in Taxonomy import/export via XML 6.2

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

File

arc/ARC_api.php, line 195

Class

ARC_api

Code

function get_query_handler($query_type = "") {
  if (in_array($query_type, array(
    "select",
    "ask",
    "describe",
    "construct",
    "add",
    "delete",
    "update",
  ))) {
    return $this
      ->get_component($query_type . "_handler", "ARC_rdf_store_" . $query_type . "_handler");
  }
  return false;
}