You are here

function biblio_handler_field_contributor::render in Bibliography Module 6.2

Same name and namespace in other branches
  1. 6 views/biblio_handler_field_contributor.inc \biblio_handler_field_contributor::render()
  2. 7 views/biblio_handler_field_contributor.inc \biblio_handler_field_contributor::render()
  3. 7.2 views/biblio_handler_field_contributor.inc \biblio_handler_field_contributor::render()

Overrides biblio_handler_field::render

File

views/biblio_handler_field_contributor.inc, line 73
Views biblio contributor handler for Drupal biblio module.

Class

biblio_handler_field_contributor
@file Views biblio contributor handler for Drupal biblio module.

Code

function render($values) {
  parent::set_label($values);
  $vid = $values->{$this->field_alias};
  if (!isset($this->items[$vid])) {
    return NULL;
  }
  return biblio_format_authors($this->items[$vid]);
}