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) |
inheritdoc}
File
- tripal_chado/
views_handlers/ chado_views_handler_field.inc, line 121
Class
- chado_views_handler_field
- Views Field Handler for chado fields. Uses the same approach as the field api views_handler_field_field.
Code
function render($values) {
$value = $this->get_value($values);
if (is_array($value)) {
return drupal_render($value);
}
else {
return $this->sanitize_value($value);
}
}