function views_calc_perm in Views Calc 6
Same name and namespace in other branches
- 5 views_calc.module \views_calc_perm()
- 6.3 views_calc.module \views_calc_perm()
Implements hook_perm().
The permission 'administer views calc' has rights to alter the SQL operators that can be used in calculations.
The permission 'create views calc' has rights to create calculated fields and set calculation columns on views.
File
- ./
views_calc.module, line 100 - 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_perm() {
return array(
'create views calc',
'administer views calc',
);
}