You are here

function views_aggregator_enumerate in Views Aggregator Plus 7

Same name and namespace in other branches
  1. 8 views_aggregator_functions.inc \views_aggregator_enumerate()

Aggregates a field group as the enumeration of its members.

The enumeration is sorted "naturally" and duplicates are removed.

Parameters

array $groups: An array of groups of rows, each group indexed by group value.

object $field_handler: The handler for the view column to find members of the group.

string $separator_group: The separator to use in group enumerations, defaults to '<br/>'.

string $separator_column: The separator to use for the column enumeration, defaults to '<br/>'.

Return value

array An array of values, one for each group.

File

./views_aggregator_functions.inc, line 279
views_aggregator_functions.inc

Code

function views_aggregator_enumerate($groups, $field_handler, $separator_group, $separator_column) {
  return _views_aggregator_enumerate($groups, $field_handler, $separator_group, $separator_column, TRUE, FALSE);
}