You are here

emvideo_handler_argument_duration.inc in Embedded Media Field 6.3

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

File

contrib/emvideo/includes/views/handlers/emvideo_handler_argument_duration.inc
View source
<?php

/**
 * @file
 * The subclass simply adds properties,
 * for field-specific subclasses to use if they need to.
 */
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);
  }

}

Classes

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