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.incView 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
Name | Description |
---|---|
hosting_views_field_handler_interval | @file Provides a views field handler for formatting timestamps. |