You are here

class quiz_views_handler_field_time in Quiz 8.4

Same name and namespace in other branches
  1. 6.4 includes/views/handlers/quiz_views_handler_field_time.inc \quiz_views_handler_field_time
  2. 7.6 includes/views/handlers/quiz_views_handler_field_time.inc \quiz_views_handler_field_time
  3. 7 includes/views/handlers/quiz_views_handler_field_time.inc \quiz_views_handler_field_time
  4. 7.4 includes/views/handlers/quiz_views_handler_field_time.inc \quiz_views_handler_field_time

@file A handler to provide proper displays for dates.

Hierarchy

Expanded class hierarchy of quiz_views_handler_field_time

1 string reference to 'quiz_views_handler_field_time'
quiz_views_data in includes/views/quiz.views.inc
Implementation of hook_views_data().

File

includes/views/handlers/quiz_views_handler_field_time.inc, line 7
A handler to provide proper displays for dates.

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

}

Members