You are here

class emvideo_handler_argument_duration in Embedded Media Field 6.3

Same name and namespace in other branches
  1. 6 contrib/emvideo/includes/views/handlers/emvideo_handler_argument_duration.inc \emvideo_handler_argument_duration
  2. 6.2 contrib/emvideo/includes/views/handlers/emvideo_handler_argument_duration.inc \emvideo_handler_argument_duration

@file The subclass simply adds properties, for field-specific subclasses to use if they need to.

Hierarchy

Expanded class hierarchy of emvideo_handler_argument_duration

1 string reference to 'emvideo_handler_argument_duration'
emvideo_field_settings in contrib/emvideo/emvideo.module
Implementation of hook_field_settings().

File

contrib/emvideo/includes/views/handlers/emvideo_handler_argument_duration.inc, line 8
The subclass simply adds properties, for field-specific subclasses to use if they need to.

View source
class emvideo_handler_argument_duration extends content_handler_argument_numeric {

  /**
   * Override the behavior of title().
   */
  function title() {
    $duration = $this->argument;
    return emvideo_seconds_to_time($duration);
  }

}

Members