You are here

private function BiblioStyleBibtex::formatSeries in Bibliography Module 7.3

Rendering the series 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 341
BibTeX style.

Class

BiblioStyleBibtex
@file BibTeX style.

Code

private function formatSeries(EntityMetadataWrapper $wrapper, $key) {
  return in_array($this->biblio->type, array(
    'book_chapter',
    'conference_paper',
  )) ? $wrapper->biblio_tertiary_title
    ->value() : $wrapper->biblio_secondary_title
    ->value();
}