Метод unserializeMultiValue

private static

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

private static function unserializeMultiValue(string $operator, $rawValue)

Описание

Multi-value operators (in/!in) transport their array as a JSON string in a single value slot (JS serializeConditionValue). Decode it back to an array of scalar strings so the extracted value matches the Engine\ConditionGroup contract for direct evaluation, not only for the ORM filter (EntityFilter normalizes there). Mirror of JS unserializeConditionValue and EntityFilter::unserializeConditionValue: anything that is not a JSON list of scalars stays as is. Applies the same size limits as EntityFilter. An oversized payload is left raw (not decoded): EntityFilter::getOrmFilter re-applies the limits downstream and yields an impossible filter.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/basetype/conditiongroup.php
Расположение метода в файле
Строки 253–306

Исходный код

PHP