Метод assertComputable

private static

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

private static function assertComputable(string $formula, string $columnCode): void

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

Описание

The allowed functions and the syntax are both read from the one parse of {@see Parser}, the very program a row will be computed with: a lexer of its own here would sooner or later accept a call the parser then makes anyway. The expression is computed over a probe row, so the verdict is about the expression alone: a value dependent failure (division by zero, arguments a real row may not produce) is not a reason to reject the definition.

Параметры

2
Имя Тип По умолчанию Флаги
$formula string —
—
$columnCode string —
—

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

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

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

Исходный код

PHP