function views_calc_table::query in Views Calc 6
Same name and namespace in other branches
- 6.3 views_calc_table.inc \views_calc_table::query()
Views Method query().
File
- ./
views_calc_table.inc, line 182 - Copied from the table style plugin.
Class
- views_calc_table
- Style plugin to render each item as a row in a table.
Code
function query() {
parent::query();
// If we're not getting a summary row, do nothing.
if (empty($this->view->views_calc_calculation)) {
return;
}
// If there are no calc fields, do nothing.
if (!$this->view->views_calc_fields) {
return;
}
// Rebuild the total query.
$this
->query_total();
}