You are here

function taxonomy_server_export_vocabulary in Taxonomy import/export via XML 7

Returns an RDF representation of the vocab

Channels a taxonomy_xml vocab export.

1 string reference to 'taxonomy_server_export_vocabulary'
taxonomy_server_menu in taxonomy_server/taxonomy_server.module
Implementation of hook_menu: Define menu links.

File

taxonomy_server/taxonomy_server.module, line 377
Extends taxonomy_xml to publish downloadable or queriable taxonomy vocabularies and terms. Extends the Drupal URLs to make vocabulary information available under /taxonomy/vocabulary and /taxonomy/vocabulary/{vid}.

Code

function taxonomy_server_export_vocabulary($vocabulary, $format = 'rdf') {
  module_load_include('inc', 'taxonomy_xml', 'taxonomy_xml.export');
  return taxonomy_xml_export_vocabulary($vocabulary, $format);

  // that process actually prints out the result and exists, return is redundant.
}