You are here

public function BiblioStyleBibtex::formatJournal in Bibliography Module 7.3

Return the value of the entry journal property.

Parameters

EntityMetadataWrapper $wrapper: The wrapper object.

$key: The property name which holds the value of the field.

Return value

The value of the property.

File

plugins/biblio_style/bibtex/BiblioStyleBibtex.class.php, line 456
BibTeX style.

Class

BiblioStyleBibtex
@file BibTeX style.

Code

public function formatJournal(EntityMetadataWrapper $wrapper, $key) {
  return !in_array($this->biblio->type, array(
    'book',
    'book_chapter',
    'conference_paper',
    'thesis',
    'report',
  )) ? $wrapper->biblio_secondary_title
    ->value() : NULL;
}