Метод presentComputedColumns
Сигнатура метода
public function presentComputedColumns(array $definition, array $rows, int $actorId = 0): array
Возвращает:
array
Описание
Rows whose computed columns are in the shape their formula asks for. The preview and the materialization pass their rows through this one place, so the row the author saw and the row the result storage keeps cannot differ — and the string type the resolver gives such a column holds the label it promises. Presentation reaches out to sources and may fail on a source that has meanwhile become unavailable: the rows then keep their raw values instead of failing as a whole.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$definition
|
array
|
—
|
—
|
$rows
|
array
|
—
|
—
|
$actorId
|
int
|
0
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Service/DataView/ValuePresenter.php
Расположение метода в файле
Строки
62–89