function _views_calc_fields in Views Calc 5
Same name and namespace in other branches
- 6.3 views_calc.module \_views_calc_fields()
- 6 views_calc.module \_views_calc_fields()
- 7 views_calc.module \_views_calc_fields()
Views calc fields result object
3 calls to _views_calc_fields()
- views_calc_fields_form in ./
views_calc.module - Views Calc Fields tab on views list.
- views_calc_query_handler in ./
views_calc.module - Query handler to update query use handler insert a real field with the calc into the query
- views_calc_views_tables in ./
views_calc.module - Implementation of hook_views_tables.
File
- ./
views_calc.module, line 504 - This module will allow you to add calculated fields to views tables and compute (SUM, COUNT, AVG, etc) columns of numeric data in a views table.
Code
function _views_calc_fields() {
return db_query("SELECT * FROM {views_calc_fields}");
}