You are here

public function BiblioStyleBase::getBiblioType in Bibliography Module 7.3

Returns Biblio Publication Type based on Publication Type.

Parameters

$type: Bibtex Publication Type.

Return value

Biblio Publication Type if the Publication Type was found in the Mapping, otherwise returns the given type in lowercase.

2 calls to BiblioStyleBase::getBiblioType()
BiblioStyleBibtex::importData in plugins/biblio_style/bibtex/BiblioStyleBibtex.class.php
@inheritdoc
BiblioStyleEndNoteXML8::importData in plugins/biblio_style/endnote/BiblioStyleEndNoteXML8.php
@inheritdoc

File

plugins/biblio_style/abstract.inc, line 199

Class

BiblioStyleBase
An abstract implementation of MessageNotifierInterface.

Code

public function getBiblioType($type) {
  $map = $this
    ->getMapping();
  $type = strtolower($type);
  if (!empty($map['type'][$type])) {
    return $map['type'][$type];
  }
  return $type;
}