You are here

function BiblioCrossRefClient::_unixref_type_map in Bibliography Module 6.2

Same name and namespace in other branches
  1. 7 modules/crossref/biblio.crossref.client.php \BiblioCrossRefClient::_unixref_type_map()
  2. 7.2 modules/crossref/biblio.crossref.client.php \BiblioCrossRefClient::_unixref_type_map()
1 call to BiblioCrossRefClient::_unixref_type_map()
BiblioCrossRefClient::unixref_startElement in modules/crossref/biblio.crossref.client.php

File

modules/crossref/biblio.crossref.client.php, line 304

Class

BiblioCrossRefClient

Code

function _unixref_type_map($type) {
  if (empty($this->type_map)) {
    $this->type_map = biblio_get_map('type_map', 'crossref');
  }
  return isset($this->type_map[$type]) ? $this->type_map[$type] : 129;

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