You are here

function views_data_export_plugin_display_export::outputfile_path 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::outputfile_path()
  2. 6 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::outputfile_path()
  3. 6.2 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::outputfile_write in plugins/views_data_export_plugin_display_export.inc
Write to the output file.
views_data_export_plugin_display_export::render in plugins/views_data_export_plugin_display_export.inc
Render the display.
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 684
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)) {
    if (!empty($this->batched_execution_state->fid)) {

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