You are here

function ARC_api_helper::get_prop_tables in Taxonomy import/export via XML 6

Same name and namespace in other branches
  1. 5.2 arc/ARC_api_helper.php \ARC_api_helper::get_prop_tables()
  2. 5 arc/ARC_api_helper.php \ARC_api_helper::get_prop_tables()
  3. 6.2 arc/ARC_api_helper.php \ARC_api_helper::get_prop_tables()
2 calls to ARC_api_helper::get_prop_tables()
ARC_api_helper::get_tables in arc/ARC_api_helper.php
ARC_api_helper::get_triple_tables in arc/ARC_api_helper.php

File

arc/ARC_api_helper.php, line 235

Class

ARC_api_helper

Code

function get_prop_tables() {
  $result = array();
  $prop_tables = isset($this->config["prop_tables"]) && is_array($this->config["prop_tables"]) ? $this->config["prop_tables"] : array();
  foreach ($prop_tables as $cur_tbl) {
    $result[] = $cur_tbl["prop_type"] == "dt" ? "triple_dp_" . $cur_tbl["name"] : "triple_op_" . $cur_tbl["name"];
  }
  return $result;
}