function _endnote8_type_map in Bibliography Module 7
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.2 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 236
Code
function _endnote8_type_map($bibliotype) {
static $map = array();
if (empty($map)) {
$map = biblio_get_map('type_map', 'endnote8');
}
// Return the biblio type or 129 (Misc) if type not found.
return ($en8_type = array_search($bibliotype, $map)) ? $en8_type : 13;
}