Метод insertPermissions

public

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

public function insertPermissions(array $rows): void

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

Описание

Raw multi-row insert of permission rows. The multivariables model stores several rows per (ROLE_ID, PERMISSION_ID) - one per template id - so rows are inserted as-is without deduplication. Callers delete the previous rows of the affected roles first (save flow) or seed a freshly created role (install). Rows with a non-positive role id or an empty permission id are skipped.

Параметры

1
Имя Тип По умолчанию Флаги
$rows array —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/Repository/Access/AccessRepositoryInterface.php
Расположение метода в файле
Строки 78–78

Исходный код

PHP