You are here

public function BiblioStyleEndNoteTagged::renderEntryGeneric in Bibliography Module 7.3

Generic entry render.

Parameters

array $output:

EntityMetadataWrapper $wrapper:

$tag:

File

plugins/biblio_style/endnote/BiblioStyleEndNoteTagged.php, line 110
EndNote tagged biblio style.

Class

BiblioStyleEndNoteTagged
@file EndNote tagged biblio style.

Code

public function renderEntryGeneric(&$output = array(), EntityMetadataWrapper $wrapper, $tag) {
  $map = $this
    ->getMapping();
  if (!($property = $map['field'][$tag]['property'])) {
    return;
  }
  if (!isset($wrapper->{$property}) || !($value = $wrapper->{$property}
    ->value())) {
    return;
  }
  $output[] = "{$tag} " . $value;
}