function views_data_export_export_list_files in Views data export 7.3
Determines where a file is used.
Parameters
$eid: The ID of a Views Data Export.
Return value
array An array of loaded files objects used by the specified export.
1 call to views_data_export_export_list_files()
- views_data_export_garbage_collect in ./
views_data_export.module - Removes any temporary index tables that have been left behind. This is caused by batch processes which are started but never finished.
File
- ./
views_data_export.module, line 176 - Provides the ability to export to specific
Code
function views_data_export_export_list_files($eid) {
$result = db_select('file_usage', 'f')
->fields('f', array(
'fid',
))
->condition('id', $eid)
->condition('type', 'eid')
->condition('module', 'views_data_export')
->execute();
return file_load_multiple($result
->fetchCol());
}