function views_data_export_plugin_display_export::render_complete 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::render_complete()
- 6 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::render_complete()
- 6.2 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::render_complete()
- 7.4 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::render_complete()
- 7 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::render_complete()
Render the 'Export Finished' page with the link to the file on it.
1 call to views_data_export_plugin_display_export::render_complete()
- views_data_export_plugin_display_export::execute_final in plugins/
views_data_export_plugin_display_export.inc - Renders the final page We should be free of the batch at this point
File
- plugins/
views_data_export_plugin_display_export.inc, line 562 - Contains the bulk export display plugin.
Class
- views_data_export_plugin_display_export
- The plugin that batches its rendering.
Code
function render_complete() {
$return_path = empty($_GET['return-url']) ? '' : $_GET['return-url'];
$query = array(
'download' => 1,
'eid' => $this->batched_execution_state->eid,
'token' => drupal_get_token('views_data_export/' . $this->batched_execution_state->eid),
);
return theme('views_data_export_complete_page', array(
'file' => url($this->view
->get_url(), array(
'query' => $query,
)),
'errors' => $this->errors,
'return_url' => $return_path,
));
}