You are here

function views_data_export_plugin_display_export::outputfile_path in Views data export 6

Same name and namespace in other branches
  1. 6.3 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::outputfile_path()
  2. 6.2 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::outputfile_path()
  3. 7.4 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::outputfile_path()
  4. 7 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::outputfile_path()
  5. 7.3 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::outputfile_path()

Get the output file path.

3 calls to views_data_export_plugin_display_export::outputfile_path()
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_plugin_display_export::outputfile_write in plugins/views_data_export_plugin_display_export.inc
Write to the output file.
views_data_export_plugin_display_export::transfer_file in plugins/views_data_export_plugin_display_export.inc
Transfer the output file to the client.

File

plugins/views_data_export_plugin_display_export.inc, line 624
Contains the bulk export display plugin.

Class

views_data_export_plugin_display_export
The plugin that batches its rendering.

Code

function outputfile_path() {
  if (empty($this->_output_file) && !empty($this->batched_execution_state->fid)) {

    // Return the filename associated with this file.
    $this->_output_file = $this
      ->file_load($this->batched_execution_state->fid);
  }
  return $this->_output_file->filepath;
}