You are here

public function views_data_export_plugin_display_export::outputfile_entity in Views data export 7.3

Get the output file entity.

2 calls to views_data_export_plugin_display_export::outputfile_entity()
views_data_export_plugin_display_export::outputfile_path in plugins/views_data_export_plugin_display_export.inc
Get the output file path.
views_data_export_plugin_display_export::outputfile_update_size in plugins/views_data_export_plugin_display_export.inc
Updates the file size in the file entity.

File

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

Class

views_data_export_plugin_display_export
The plugin that batches its rendering.

Code

public function outputfile_entity() {
  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;
}