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