You are here

function emvideo_handler_argument_duration::title in Embedded Media Field 6

Same name and namespace in other branches
  1. 6.3 contrib/emvideo/includes/views/handlers/emvideo_handler_argument_duration.inc \emvideo_handler_argument_duration::title()
  2. 6.2 contrib/emvideo/includes/views/handlers/emvideo_handler_argument_duration.inc \emvideo_handler_argument_duration::title()

Override the behavior of title().

File

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

Class

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

Code

function title() {
  $duration = $this->argument;
  return emvideo_seconds_to_time($duration);
}