You are here

function views_plugin_query_default::set_header in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 7.3 plugins/views_plugin_query_default.inc \views_plugin_query_default::set_header()

Set the table header; used for click-sorting because it's needed info to modify the ORDER BY clause.

File

plugins/views_plugin_query_default.inc, line 162
views_plugin_query_default.inc Defines the default query object which builds SQL to execute using the Drupal database API.

Class

views_plugin_query_default
Object used to create a SELECT query.

Code

function set_header($header) {
  $this->header = $header;
}