function evoc_import_vocabulary in RDF Extensions 7.2
2 calls to evoc_import_vocabulary()
File
- evoc/
evoc.module, line 50 - Allows to import external Vocabularies in order to map them to Drupal data structure.
Code
function evoc_import_vocabulary($vocabulary_uri, $vocabulary_prefix) {
// Fetch the defined terms and a list of the defined namespaces.
$fetched_vocab = evoc_fetch_vocabulary($vocabulary_uri, $vocabulary_prefix);
rdfx_save_terms($vocabulary_uri, $vocabulary_prefix, $fetched_vocab);
// Refresh the static variable that holds the array of namespaces.
drupal_static_reset('rdfx_get_namespaces');
//_evoc_save_rdf_terms($vocabulary_uri, $vocabulary_prefix, $fetched_terms);
}