You are here

function _views_calc_calc_options in Views Calc 6

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

Column calculation alternatives.

2 calls to _views_calc_calc_options()
views_calc_table::get_calc_fields in ./views_calc_table.inc
Get views_calc fields
views_calc_table::options_form in ./views_calc_table.inc
Render the given style.

File

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