Метод accumulateFunction
Сигнатура метода
private function accumulateFunction(array &$accumulator, AggregateFunctionCall $function, array $row, bool $numeric): void
Возвращает:
void
Описание
Folds a single row into the running accumulator, mirroring the value handling of the former buffered applyFunction(): null and array values are ignored, COUNT counts the remaining values, and SUM/AVG/MIN/MAX aggregate only over them.
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$accumulator
|
array
|
—
|
|
$function
|
AggregateFunctionCall
|
—
|
—
|
$row
|
array
|
—
|
—
|
$numeric
|
bool
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Service/DataView/CombineEngine.php
Расположение метода в файле
Строки
647–678