You are here

function views_data_export_plugin_style_export::render in Views data export 7

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

Render the display in this style.

Overrides views_plugin_style::render

File

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

Class

views_data_export_plugin_style_export
Generalized style plugin for export plugins.

Code

function render() {
  if ($this
    ->uses_row_plugin() && empty($this->row_plugin)) {
    vpr('views_plugin_style_default: Missing row plugin');
    return;
  }
  $output = '';
  $rows['header'] = $this
    ->render_header();
  $rows['body'] = $this
    ->render_body();
  $rows['footer'] = $this
    ->render_footer();
  $title = '';
  $output .= theme($this
    ->theme_functions(), array(
    'view' => $this->view,
    'options' => $this->options,
    'rows' => $rows,
    'title' => $title,
  ));
  return $output;
}