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) |
File
- legacy/
tripal_feature/ views_handlers/ views_handler_field_residues.inc, line 34 - Contains views_handler_field_residues field handler
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);
}