You are here

function en8_parser_type_map in Bibliography Module 6

1 call to en8_parser_type_map()
en8_endElement in ./endnote8_parser.inc

File

./endnote8_parser.inc, line 214

Code

function en8_parser_type_map($en8type) {
  static $map = array();
  if (empty($map)) {

    // first check to see if there are user settings else load the defaults
    module_load_include('inc', 'biblio', 'biblio.type.mapper');
    $map = biblio_get_type_map('endnote8');
  }
  return isset($map[$en8type]) ? $map[$en8type] : 129;

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