getid3_metadata_handler.inc in getID3() 7.2
File
includes/handlers/getid3_metadata_handler.incView source
<?php
/**
* Field handler to render metadata attributes
*
* @todo: Patch file entity to provide this?
*/
class getid3_metadata_handler extends views_handler_field {
function render($values) {
$fid = $this
->get_value($values);
$file = file_load($fid);
return $file->metadata;
}
}
Classes
Name | Description |
---|---|
getid3_metadata_handler | Field handler to render metadata attributes |