You are here

public function biblio_handler_field_contributor::render in Bibliography Module 7

Same name and namespace in other branches
  1. 6.2 views/biblio_handler_field_contributor.inc \biblio_handler_field_contributor::render()
  2. 6 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()

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides biblio_handler_field::render

File

views/biblio_handler_field_contributor.inc, line 149

Class

biblio_handler_field_contributor

Code

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