You are here

function EndNoteXMLParser::type_map in Bibliography Module 7.2

Same name and namespace in other branches
  1. 6.2 modules/endnote/endnote_xml_parser.inc \EndNoteXMLParser::type_map()
  2. 7 modules/endnote/endnote_xml_parser.inc \EndNoteXMLParser::type_map()
2 calls to EndNoteXMLParser::type_map()
EndNoteXMLParser::endnote7_characterData in modules/endnote/endnote_xml_parser.inc
EndNoteXMLParser::endnote8_endElement in modules/endnote/endnote_xml_parser.inc

File

modules/endnote/endnote_xml_parser.inc, line 430

Class

EndNoteXMLParser

Code

function type_map($entype) {
  static $map = array();
  if (empty($map)) {
    $map = biblio_get_map('type_map', $this->format);
  }
  return isset($map[$entype]) ? $map[$entype] : 129;

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