function views_data_export_view_retrieve in Views data export 6
Same name and namespace in other branches
- 6.3 views_data_export.module \views_data_export_view_retrieve()
- 6.2 views_data_export.module \views_data_export_view_retrieve()
- 7.4 views_data_export.module \views_data_export_view_retrieve()
- 7 views_data_export.module \views_data_export_view_retrieve()
- 7.3 views_data_export.module \views_data_export_view_retrieve()
Retrieve a view from the object cache.
3 calls to views_data_export_view_retrieve()
- views_data_export_plugin_display_export::execute in plugins/
views_data_export_plugin_display_export.inc - Execute this display handler.
- _drush_views_data_export_batch_finished in ./
views_data_export.drush.inc - Get's called at the end of the drush batch process that generated our export
- _views_data_export_batch_process in ./
views_data_export.module - Batch API callback. Handles all batching operations by executing the appropriate view.
File
- ./
views_data_export.module, line 219 - Provides the ability to export to specific
Code
function views_data_export_view_retrieve($export_id) {
views_include('view');
$data = db_fetch_object(db_query("SELECT * FROM {views_data_export_object_cache} WHERE eid = '%s'", $export_id));
if ($data) {
$view = unserialize($data->data);
}
return $view;
}