You are here

function views_data_export_plugin_style_export::get_exporter in Views data export 7.4

Get our exporter initialised and ready for use.

5 calls to views_data_export_plugin_style_export::get_exporter()
views_data_export_plugin_style_export::options_form in plugins/views_data_export_plugin_style_export.inc
Options form mini callback.
views_data_export_plugin_style_export::options_submit in plugins/views_data_export_plugin_style_export.inc
Handle any special handling on the validate form.
views_data_export_plugin_style_export::options_validate in plugins/views_data_export_plugin_style_export.inc
Validate the options form.
views_data_export_plugin_style_export::render in plugins/views_data_export_plugin_style_export.inc
Render the display in this style.
views_data_export_plugin_style_export::render_body in plugins/views_data_export_plugin_style_export.inc

File

plugins/views_data_export_plugin_style_export.inc, line 530
Plugin include file for export style plugin.

Class

views_data_export_plugin_style_export
Generalized style plugin for export plugins.

Code

function get_exporter($options = NULL) {
  if (is_null($options)) {
    $options = $this->options['exporter_options'];
  }
  else {
    if ($options == $this->options['exporter_options']) {
      return $this->exporter;
    }
    else {
      $options = array_merge($options, $this->options['exporter_options']);
    }
  }
  $this->exporter = new $this->definition['exporter']($options);
  return $this->exporter;
}