You are here

hosting_views_field_handler_interval.inc in Hosting 6.2

Provides a views field handler for formatting timestamps.

File

hosting_views_field_handler_interval.inc
View source
<?php

/**
 * @file
 *   Provides a views field handler for formatting timestamps.
 */
class hosting_views_field_handler_interval extends views_handler_field {
  function render($values) {
    $value = $values->{$this->field_alias};
    return hosting_format_interval($value);
  }

}

Classes

Namesort descending Description
hosting_views_field_handler_interval @file Provides a views field handler for formatting timestamps.