function views_calc_views_fetch_fields in Views Calc 7
Same name and namespace in other branches
- 6.3 views_calc.module \views_calc_views_fetch_fields()
- 6 views_calc.module \views_calc_views_fetch_fields()
Wrapper function to make sure this function will always work.
1 call to views_calc_views_fetch_fields()
- _views_calc_substitutions in ./
views_calc.module - Field substitutions for calculations.
File
- ./
views_calc.module, line 430 - 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_views_fetch_fields($base, $type) {
if (!module_exists('views')) {
return array();
}
require_once DRUPAL_ROOT . '/' . drupal_get_path('module', 'views') . '/includes/admin.inc';
return views_fetch_fields($base, $type);
}