function views_plugin_query_default::set_header

Same name in other branches
  1. 7.x-3.x 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

Class

views_plugin_query_default
Object used to create a SELECT query.

Code

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