You are here

function views_data_export_plugin_style_export::build_sort_post in Views data export 7.4

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

Called by the view builder to let the style build a second set of sorts that will come after any other sorts in the view.

Overrides views_plugin_style::build_sort_post

File

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

Class

views_data_export_plugin_style_export
Generalized style plugin for export plugins.

Code

function build_sort_post() {

  // If we found an extra style plugin earlier, pass off the build_sort_post call to it.
  if (isset($this->extra_style)) {
    return $this->extra_style
      ->build_sort_post();
  }
  else {
    return parent::build_sort_post();
  }
}