You are here

hosting_field_handler_interval.inc in Hosting 7.3

Same filename and directory in other branches
  1. 7.4 includes/views/handlers/hosting_field_handler_interval.inc

Provides a views field handler for formatting timestamps.

File

includes/views/handlers/hosting_field_handler_interval.inc
View source
<?php

/**
 * @file
 *   Provides a views field handler for formatting timestamps.
 */
class hosting_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_field_handler_interval @file Provides a views field handler for formatting timestamps.