You are here

quiz_views_handler_field_time.inc in Quiz 8.4

A handler to provide proper displays for dates.

File

includes/views/handlers/quiz_views_handler_field_time.inc
View source
<?php

/**
 * @file A handler to provide proper displays for dates.
 *
 * @ingroup views_field_handlers
 */
class quiz_views_handler_field_time extends views_handler_field {
  function render($values) {
    $value = $values->{$this->field_alias};
    return _quiz_format_duration($value);
  }

}

Classes

Namesort descending Description
quiz_views_handler_field_time @file A handler to provide proper displays for dates.