You are here

function views_data_export_plugin_display_export::execute_final 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::execute_final()
  2. 6 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::execute_final()
  3. 6.2 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::execute_final()
  4. 7 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::execute_final()
  5. 7.3 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 420
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'])) {

    // This next method will exit.
    $this
      ->transfer_file();
  }
  else {

    // Remove the index table.
    $this
      ->remove_index();
    return $this
      ->render_complete();
  }
}