You are here

private function BiblioStyleBibtex::formatBookTitle in Bibliography Module 7.3

Rendering the book title 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 371
BibTeX style.

Class

BiblioStyleBibtex
@file BibTeX style.

Code

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