function views_handler_field_residues::render

2.x views_handler_field_residues.inc views_handler_field_residues::render($values)
3.x views_handler_field_residues.inc views_handler_field_residues::render($values)
1.x views_handler_field_residues.inc views_handler_field_residues::render($values)

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides views_handler_field::render

File

tripal_feature/views_handlers/views_handler_field_residues.inc, line 25
@todo Add file header description

Class

views_handler_field_residues
A handler to provide proper displays for sequence residues.

Code

function render($values) {
  // add a <br> every 100 bp
  return ereg_replace("(.{100})", "\\1<br />", $values->feature_residues);

}