Метод deleteOrphanPermissionsByTemplate
Сигнатура метода
public function deleteOrphanPermissionsByTemplate(int $templateId, array $permissionIds): bool
Возвращает:
bool
Описание
Drops permission rows whose VALUE scopes the deleted template id, narrowed to the given multivariables permission ids. Returns whether any such row existed (so the caller can invalidate its cache only then).
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateId
|
int
|
—
|
—
|
$permissionIds
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Repository/Access/AccessRepositoryInterface.php
Расположение метода в файле
Строки
102–102