You are here

hosting_views_field_handler_interval.inc in Hostmaster (Aegir) 6

Provides a views field handler for formatting timestamps.

File

modules/hosting/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.