You are here

function views_query::set_header in Views (for Drupal 7) 6.2

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

File

includes/query.inc, line 141
query.inc Defines the query object which is the underlying layer in a View.

Class

views_query
Object used to create a SELECT query.

Code

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