You are here

function views_aggregator_get_cell in Views Aggregator Plus 8

Same name and namespace in other branches
  1. 7 views_aggregator.module \views_aggregator_get_cell()

Returns the result value at the intersection of column and row.

Parameters

object $field_handler: The handler associated with the table column being requested.

int $row_num: Index into the View result rows array.

bool $rendered: Whether to return the rendered as opposed to the raw value of the cell.

Return value

string The content of the cell

15 calls to views_aggregator_get_cell()
views_aggregator_average in ./views_aggregator_functions.inc
Aggregates a field group as the average amongst its members.
views_aggregator_count in ./views_aggregator_functions.inc
Aggregates a field group as a count of the number of group members.
views_aggregator_count_unique in ./views_aggregator_functions.inc
Aggregates a field group as a count of the unique number of group members.
views_aggregator_first in ./views_aggregator_functions.inc
Aggregates a field group as the first member of the group.
views_aggregator_group_and_compress in ./views_aggregator_functions.inc
Aggregates the supplied view results into grouped rows.

... See full list

File

./views_aggregator.module, line 84
Module implementing post-query aggregation functions for Views tables.

Code

function views_aggregator_get_cell($field_handler, $row_num, $rendered = FALSE) {
  if (isset($field_handler->view->style_plugin)) {
    return $field_handler->view->style_plugin
      ->getCell($field_handler, $row_num, $rendered);
  }
}