Метод getDataToCalculateTotalSums
Сигнатура метода
protected function getDataToCalculateTotalSums(string $fieldSum, array $filter, array $runtime): array
Возвращает:
array
Описание
Returns per-stage aggregates for kanban summary. Default implementation transparently caches results via {@see TotalSumsCache}. **Subclass contract:** to participate in caching, subclasses with custom aggregation must override {@see self::doGetDataToCalculateTotalSums()}, not this method. Overriding this method directly opts out of caching (currently the case for {@see Entity\Invoice} and {@see Entity\Order}).
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$fieldSum
|
string
|
—
|
—
|
$filter
|
array
|
—
|
—
|
$runtime
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/kanban/entity.php
Расположение метода в файле
Строки
1088–1114