emvideo_handler_argument_duration.inc in Embedded Media Field 6.3
Same filename and directory in other branches
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.incView 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
Name | Description |
---|---|
emvideo_handler_argument_duration | @file The subclass simply adds properties, for field-specific subclasses to use if they need to. |