Метод unserializeMultiValue
Сигнатура метода
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
~/bitrix/modulesbizproc/lib/basetype/conditiongroup.php