function PARSEENTRIES::bibtex_type_map in Bibliography Module 6
1 call to PARSEENTRIES::bibtex_type_map()
- PARSEENTRIES::bib2node in bibtexParse/
PARSEENTRIES.php
File
- bibtexParse/
PARSEENTRIES.php, line 633
Class
Code
function bibtex_type_map($type) {
static $map = array();
if (empty($map)) {
module_load_include('inc', 'biblio', 'biblio.type.mapper');
$map = biblio_get_type_map('bibtex');
}
return isset($map[$type]) ? $map[$type] : 129;
//return the biblio type or 129 (Misc) if type not found
}