function getid3_handler_field_tags::render in getID3() 7
Render the field.
Parameters
array $values: The values retrieved from the database.
Overrides views_handler_field::render
File
- includes/
getid3_handler_field_tags.inc, line 35 - A special handler that renders ID3 tags attached to a file.
Class
- getid3_handler_field_tags
- Render a field as a readable value in hours, minutes, and seconds.
Code
function render($values) {
$value = unserialize($values->{$this->field_alias});
$tag = $this->options['tag'];
if (isset($value[$tag])) {
return check_plain($value[$tag]);
}
}