You are here

function _views_calc_calc_options in Views Calc 5

Same name and namespace in other branches
  1. 6.3 views_calc.module \_views_calc_calc_options()
  2. 6 views_calc.module \_views_calc_calc_options()
  3. 7 views_calc.module \_views_calc_calc_options()

Column calculation alternatives

1 call to _views_calc_calc_options()
views_calc_cols_form in ./views_calc.module
Views Calc Columns tab on views list.

File

./views_calc.module, line 44
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_calc_options() {
  return array(
    'SUM' => 'Sum',
    'COUNT' => 'Count',
    'AVG' => 'Average',
    'MIN' => 'Minimum',
    'MAX' => 'Maximum',
  );
}