You are here

function tagged_type_map in Bibliography Module 6

1 call to tagged_type_map()
_endnote_tagged_import in ./tagged_parser.inc
Copyright (C) 2006 Ron Jerome

File

./tagged_parser.inc, line 117

Code

function tagged_type_map($type) {
  static $map = array();
  if (empty($map)) {
    module_load_include('inc', 'biblio', 'biblio.type.mapper');
    $map = biblio_get_type_map('tagged');
  }
  return isset($map[$type]) ? $map[$type] : 129;

  //return the biblio type or 129 (Misc) if type not found
}