You are here

function taxonomy_manager_export in Taxonomy Manager 6.2

Same name and namespace in other branches
  1. 5 taxonomy_manager.module \taxonomy_manager_export()
  2. 6 taxonomy_manager.admin.inc \taxonomy_manager_export()

AJAX Callback that returns the CSV Output

1 string reference to 'taxonomy_manager_export'
taxonomy_manager_menu in ./taxonomy_manager.module
Implementation of hook_menu

File

./taxonomy_manager.admin.inc, line 2386
Taxonomy Manager Admin

Code

function taxonomy_manager_export() {
  $edit = $_POST;
  $depth = empty($edit['depth']) ? NULL : $edit['depth'];
  $output = taxonomy_manager_export_csv($edit['delimiter'], $edit['vid'], $edit['tid'], $depth, array(
    $edit['option'] => TRUE,
  ));
  print $output;
  exit;
}