You are here

function biblio_handler_field::set_label in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 views/biblio_handler_field.inc \biblio_handler_field::set_label()
  2. 7 views/biblio_handler_field.inc \biblio_handler_field::set_label()
  3. 7.2 views/biblio_handler_field.inc \biblio_handler_field::set_label()
2 calls to biblio_handler_field::set_label()
biblio_handler_field::render in views/biblio_handler_field.inc
biblio_handler_field_contributor::render in views/biblio_handler_field_contributor.inc

File

views/biblio_handler_field.inc, line 46

Class

biblio_handler_field

Code

function set_label(&$values) {
  if (!$this->options['biblio_label']) {
    return;
  }
  $tid = $values->biblio_tid;
  $this->options['label'] = isset($this->labels[$tid]) ? $this->labels[$tid] : $this->labels[0];
}