function marc_type_map in Bibliography Module 6
1 call to marc_type_map()
File
- ./
biblio.import.export.inc, line 742 - Functions that are used to import and export biblio data.
Code
function marc_type_map($type) {
static $map = array();
if (empty($map)) {
module_load_include('inc', 'biblio', 'biblio.type.mapper');
$map = biblio_get_type_map('marc');
}
return isset($map[$type]) ? $map[$type] : 129;
//return the biblio type or 129 (Misc) if type not found
}