function views_data_export_plugin_display_export::execute_final in Views data export 7.3
Same name and namespace in other branches
- 6.3 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::execute_final()
- 6 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::execute_final()
- 6.2 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::execute_final()
- 7.4 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::execute_final()
- 7 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::execute_final()
Renders the final page We should be free of the batch at this point
1 call to views_data_export_plugin_display_export::execute_final()
- views_data_export_plugin_display_export::execute in plugins/
views_data_export_plugin_display_export.inc - Execute this display handler.
File
- plugins/
views_data_export_plugin_display_export.inc, line 440 - Contains the bulk export display plugin.
Class
- views_data_export_plugin_display_export
- The plugin that batches its rendering.
Code
function execute_final() {
// Should we download the file.
if (!empty($_GET['download'])) {
// Clean up our session, if we need to.
if (isset($_SESSION)) {
unset($_SESSION['views_data_export'][$this->batched_execution_state->eid]);
if (empty($_SESSION['views_data_export'])) {
unset($_SESSION['views_data_export']);
}
}
// This next method will exit.
$this
->transfer_file();
}
else {
// Remove the index table.
$this
->remove_index();
return $this
->render_complete();
}
}