function _endnote8_type_map in Bibliography Module 7.2
Same name and namespace in other branches
- 6.2 modules/endnote/endnote8_export.inc \_endnote8_type_map()
- 6 endnote8_export.inc \_endnote8_type_map()
- 7 modules/endnote/endnote8_export.inc \_endnote8_type_map()
1 call to _endnote8_type_map()
- _endnote8_XML_export in modules/
endnote/ endnote8_export.inc
File
- modules/
endnote/ endnote8_export.inc, line 195
Code
function _endnote8_type_map($bibliotype) {
static $map = array();
if (empty($map)) {
$map = biblio_get_map('type_map', 'endnote8');
}
return ($en8_type = array_search($bibliotype, $map)) ? $en8_type : 13;
//return the biblio type or 129 (Misc) if type not found
}