hosting_field_handler_interval.inc

Provides a views field handler for formatting timestamps.

Classes

File

includes/views/handlers/hosting_field_handler_interval.inc
View source
  1. <?php
  2. /**
  3. * @file
  4. * Provides a views field handler for formatting timestamps.
  5. */
  6. class hosting_field_handler_interval extends views_handler_field {
  7. function render($values) {
  8. $value = $values->{$this->field_alias};
  9. return hosting_format_interval($value);
  10. }
  11. }