Метод mergeRestrictionsIntoTree

private static

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

private static function mergeRestrictionsIntoTree(ConditionTree $userTree, array $restrictionFilter): ConditionTree

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

Описание

ANDs the array-shaped permission restrictions into a copy of the caller's {@see ConditionTree}. A fresh AND root wraps the caller tree as a subgroup (so the caller's own inner logic — e.g. an OR root — can't widen the restriction) and the restrictions are added alongside it.

Параметры

2
Имя Тип По умолчанию Флаги
$userTree ConditionTree —
—
$restrictionFilter array —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Public/Provider/Item/AbstractItemProvider.php
Расположение метода в файле
Строки 1612–1626

Исходный код

PHP