You are here

public function BiblioStyleEndNote::render in Bibliography Module 7.3

@inheritdoc

Overrides BiblioStyleBase::render

2 methods override BiblioStyleEndNote::render()
BiblioStyleEndNoteTagged::render in plugins/biblio_style/endnote/BiblioStyleEndNoteTagged.php
@inheritdoc
BiblioStyleEndNoteXML8::render in plugins/biblio_style/endnote/BiblioStyleEndNoteXML8.php
@inheritdoc

File

plugins/biblio_style/endnote/BiblioStyleEndNote.class.php, line 59
EndNote tagged biblio style.

Class

BiblioStyleEndNote
@file EndNote tagged biblio style.

Code

public function render($options = array(), $langcode = NULL) {
  $options += array(
    'type' => 'tagged',
  );
  switch ($options['type']) {
    case 'xml':
      $class_name = 'BiblioStyleEndNoteXML8';
      break;
    default:
      $class_name = 'BiblioStyleEndNoteTagged';
      break;
  }
  $handler = new $class_name($this->plugin, $this->biblio);
  return $handler
    ->render($options, $langcode);
}