function views_data_export_view_store in Views data export 7.4
Same name and namespace in other branches
- 6.3 views_data_export.module \views_data_export_view_store()
- 6 views_data_export.module \views_data_export_view_store()
- 6.2 views_data_export.module \views_data_export_view_store()
- 7 views_data_export.module \views_data_export_view_store()
- 7.3 views_data_export.module \views_data_export_view_store()
Store a view in the object cache.
2 calls to views_data_export_view_store()
- views_data_export_plugin_display_export::execute_initial in plugins/
views_data_export_plugin_display_export.inc - Initializes the whole export process and starts off the batch process.
- _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 235 - Provides the ability to export to specific
Code
function views_data_export_view_store($export_id, $view) {
// Store a clean copy of the view.
$_view = $view
->clone_view();
views_data_export_view_clear($export_id);
$record = array(
'eid' => $export_id,
'data' => $_view,
'updated' => REQUEST_TIME,
);
drupal_write_record('views_data_export_object_cache', $record);
}