class emvideo_handler_argument_duration in Embedded Media Field 6
Same name and namespace in other branches
- 6.3 contrib/emvideo/includes/views/handlers/emvideo_handler_argument_duration.inc \emvideo_handler_argument_duration
- 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
- class \emvideo_handler_argument_duration extends \content_handler_argument_numeric
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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
emvideo_handler_argument_duration:: |
function | Override the behavior of title(). |