function chado_views_handler_field::render

3.x chado_views_handler_field.inc chado_views_handler_field::render($values)
1.x chado_views_handler_field.inc chado_views_handler_field::render($values)

Render the field.

Note: Checks to see if we have an array or simple field. If we have an array, then split it up and render each part using the parent render functionality.

Parameters

$values: The values retrieved from the database.

Overrides views_handler_field::render

1 method overrides chado_views_handler_field::render()
tripal_views_handler_field_sequence::render in tripal_views/views/handlers/tripal_views_handler_field_sequence.inc
Prior to display of results we want to format the sequence

File

tripal_views/views/handlers/chado_views_handler_field.inc, line 114
A chado wrapper for the views_handler_field.

Class

chado_views_handler_field
@file A chado wrapper for the views_handler_field.

Code

function render($values) {
  if ($this->options['link_to_node']) {
    $link_text = chado_wrapper_render_items($this, $values);
    return $this->render_node_link($link_text, $values);
  }
  else {
    return chado_wrapper_render_items($this, $values);
  }
}