You are here

function biblio_handler_field::pre_render in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 views/biblio_handler_field.inc \biblio_handler_field::pre_render()
  2. 7 views/biblio_handler_field.inc \biblio_handler_field::pre_render()
  3. 7.2 views/biblio_handler_field.inc \biblio_handler_field::pre_render()
1 method overrides biblio_handler_field::pre_render()
biblio_handler_field_contributor::pre_render in views/biblio_handler_field_contributor.inc

File

views/biblio_handler_field.inc, line 52

Class

biblio_handler_field

Code

function pre_render($values) {
  foreach ($values as $result) {
    if (!empty($result->biblio_biblio_year)) {

      // this converts values like 9999 or 9998 to "Submitted" and "In Press"
      $result->biblio_biblio_year = _biblio_text_year($result->biblio_biblio_year);
    }
  }
  return $values;
}