Метод addCondition

private static

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

private static function addCondition(DictionaryFilter $group, Condition $condition): void

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

Описание

One comparison of the common filter as a condition of the domain. An expression in either operand is refused here and nowhere else: it is no value of a field, and the common filter lets it through having checked only that the property it names exists and is filterable ({@see \Bitrix\Rest\V3\Structure\Filtering\FilterValidator::validateOperands()} skips the check of the value altogether when the right operand is one).

Параметры

2
Имя Тип По умолчанию Флаги
$group DictionaryFilter —
—
$condition Condition —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Infrastructure/Rest/Dto/Mapping/Dictionary/DictionaryValueListRequestMapper.php
Расположение метода в файле
Строки 131–149

Исходный код

PHP