You are here

function views_data_export_plugin_display_export::render_complete in Views data export 7.4

Same name and namespace in other branches
  1. 6.3 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::render_complete()
  2. 6 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::render_complete()
  3. 6.2 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::render_complete()
  4. 7 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::render_complete()
  5. 7.3 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 536
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,
  );
  return theme('views_data_export_complete_page', array(
    'file' => url($this->view
      ->get_url(), array(
      'query' => $query,
    )),
    'errors' => $this->errors,
    'return_url' => $return_path,
  ));
}