You are here

function views_data_export_plugin_display_export::is_batched in Views data export 7.3

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

Determine if this view should run as a batch or not.

4 calls to views_data_export_plugin_display_export::is_batched()
views_data_export_plugin_display_export::execute in plugins/views_data_export_plugin_display_export.inc
Execute this display handler.
views_data_export_plugin_display_export::preview in plugins/views_data_export_plugin_display_export.inc
TBD - What does 'preview' mean for bulk exports? According to doc: "Fully render the display for the purposes of a live preview or some other AJAXy reason. [views_plugin_display.inc:1877]"
views_data_export_plugin_display_export::query in plugins/views_data_export_plugin_display_export.inc
Trick views into thinking that we have executed the query and got results.
views_data_export_plugin_display_export::render in plugins/views_data_export_plugin_display_export.inc
Render the display.

File

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

Class

views_data_export_plugin_display_export
The plugin that batches its rendering.

Code

function is_batched() {

  // The source of this option may change in the future.
  return $this
    ->get_option('use_batch') == 'batch' && empty($this->view->live_preview);
}