function biblio_get_export_map in Bibliography Module 6
2 calls to biblio_get_export_map()
File
- ./
biblio.type.mapper.inc, line 670
Code
function biblio_get_export_map($file_format, $default = FALSE) {
switch ($default) {
case FALSE:
$map = variable_get('biblio_' . $file_format . '_export_map', array());
if (!empty($map)) {
return $map;
}
case TRUE:
default:
$schema = drupal_get_schema('biblio');
$fieldnames = array_keys($schema['fields']);
asort($fieldnames);
$map = array_fill_keys($fieldnames, 1);
return $map;
}
}