Метод applyFormulas

private

Сигнатура метода

private function applyFormulas(array $definition, CombineResult $result, int $actorId): CombineResult

Возвращает: CombineResult

Описание

Computed columns are the last step of a row. A row that fails to compute keeps an empty cell instead of failing the whole materialization. A formula asking for an output modifier is answered here as well, so the value written to the result storage is the value the preview showed. A computed cell is memory of its own — a formula may hold far more than the source value it replaces — so it is charged against the same budget the source rows are, and charged as computed: the raw value is what the run holds, while presentation may replace it with a shorter label.

Параметры

3
Имя Тип По умолчанию Флаги
$definition array —
—
$result CombineResult —
—
$actorId int —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/Service/DataView/CombineEngine.php
Расположение метода в файле
Строки 111–133

Исходный код

PHP