Метод applyFormulas
Сигнатура метода
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
~/bitrix/modulesbizproc/lib/Internal/Service/DataView/CombineEngine.php