Метод applyCondition
Сигнатура метода
private static function applyCondition(ConditionTree $tree, DictionaryFilterCondition $condition): void
Возвращает:
void
Описание
One comparison of the domain as a condition of the same query. The stored form of a value is spelled out nowhere here: the value travels as the domain has it - `true` and `false` of `isSystem` included - and the field of the ORM entity turns it into what the column keeps ({@see StatusTable::getMap()} declares `SYSTEM` with `'N'`/`'Y'`). A comparison by `isSystem` is therefore the lexicographic comparison of those two letters, which is the declared behaviour of this domain.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$tree
|
ConditionTree
|
—
|
—
|
$condition
|
DictionaryFilterCondition
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Repository/Dictionary/DictionaryValueRepository.php
Расположение метода в файле
Строки
423–440