class hosting_views_field_handler_interval in Hostmaster (Aegir) 6
@file Provides a views field handler for formatting timestamps.
Hierarchy
- class \hosting_views_field_handler_interval extends \views_handler_field
Expanded class hierarchy of hosting_views_field_handler_interval
1 string reference to 'hosting_views_field_handler_interval'
- hosting_site_views_data in modules/
hosting/ site/ hosting_site.views.inc - Implements hook_views_data().
File
- modules/
hosting/ 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);
}
}