You are here

function ris_type_map in Bibliography Module 6

1 call to ris_type_map()
_ris_tagged_import in ./ris_parser.inc
Copyright (C) 2006 Ron Jerome

File

./ris_parser.inc, line 167

Code

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

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