function _endnote_tagged_type_map in Bibliography Module 6
1 call to _endnote_tagged_type_map()
- biblio_endnote_tagged_export in ./
biblio.import.export.inc - Export data in EndNote tagged format.
File
- ./
biblio.import.export.inc, line 1148 - Functions that are used to import and export biblio data.
Code
function _endnote_tagged_type_map($bibliotype) {
static $map = array();
if (empty($map)) {
module_load_include('inc', 'biblio', 'biblio.type.mapper');
$map = biblio_get_type_map('tagged');
}
return ($type = array_search($bibliotype, $map)) ? $type : 'Generic';
//return the biblio type or 129 (Misc) if type not found
}