function _endnote7_type_map in Bibliography Module 6
1 call to _endnote7_type_map()
File
- ./
endnote7_export.inc, line 97
Code
function _endnote7_type_map($bibliotype) {
static $map = array();
if (empty($map)) {
module_load_include('inc', 'biblio', 'biblio.type.mapper');
$map = biblio_get_type_map('endnote7');
}
return ($en7_type = array_search($bibliotype, $map)) ? $en7_type : 31;
//return the biblio type or 129 (Misc) if type not found
}