You are here

class hosting_views_field_handler_interval in Hosting 6.2

@file Provides a views field handler for formatting timestamps.

Hierarchy

Expanded class hierarchy of hosting_views_field_handler_interval

1 string reference to 'hosting_views_field_handler_interval'
hosting_site_views_data in site/views/hosting_site.views.inc
Implements hook_views_data().

File

./hosting_views_field_handler_interval.inc, line 8
Provides a views field handler for formatting timestamps.

View source
class hosting_views_field_handler_interval extends views_handler_field {
  function render($values) {
    $value = $values->{$this->field_alias};
    return hosting_format_interval($value);
  }

}

Members