You are here

function hosting_field_handler_interval::render in Hosting 7.3

Same name and namespace in other branches
  1. 7.4 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);
}