public function views_plugin_query_default::set_header in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.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 209 - Definition of views_plugin_query_default.
Class
- views_plugin_query_default
- Object used to create a SELECT query.
Code
public function set_header($header) {
$this->header = $header;
}