You are here

function _bibtex_type_map in Bibliography Module 6

1 call to _bibtex_type_map()
biblio_bibtex_export in ./biblio.import.export.inc
Export data in bibtex format.

File

./biblio.import.export.inc, line 861
Functions that are used to import and export biblio data.

Code

function _bibtex_type_map($bibliotype) {
  static $map = array();
  if (empty($map)) {
    module_load_include('inc', 'biblio', 'biblio.type.mapper');
    $map = biblio_get_type_map('bibtex');
  }
  return ($type = array_search($bibliotype, $map)) ? $type : 'article';
}