Метод preloadPermissionAttributes
Сигнатура метода
private function preloadPermissionAttributes(int $userId, array $ids): void
Возвращает:
void
Описание
Warms the permission attributes of every object the activities belong to, one call per kind of object - the same batch the checks that follow would otherwise make one object at a time. An object whose attributes come back empty - a deleted one, above all - is remembered by nobody, so the checks over it read again however early it was warmed.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userId
|
int
|
—
|
—
|
$ids
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Access/Activity/BindingAttributeLoader.php
Расположение метода в файле
Строки
218–239