function hosting_field_handler_interval::render in Hosting 7.4
Same name and namespace in other branches
- 7.3 includes/views/handlers/hosting_field_handler_interval.inc \hosting_field_handler_interval::render()
Render the field.
Parameters
array $values: The values retrieved from the database.
Overrides views_handler_field::render
File
- includes/
views/ handlers/ hosting_field_handler_interval.inc, line 10 - Provides a views field handler for formatting timestamps.
Class
- hosting_field_handler_interval
- @file Provides a views field handler for formatting timestamps.
Code
function render($values) {
$value = $values->{$this->field_alias};
return hosting_format_interval($value);
}