Метод collectVariablesFromMatrix

private

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

private function collectVariablesFromMatrix(): array

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

Описание

ALG-01: the ids come from the values of the multivariables rights, the threshold cuts every right down to its first ITEMS_LIMIT ids, and one indexed query loads the titles of what is left. One query for every right and every role, never one per cell. The threshold runs before the query on purpose. Its cost then depends on the shown ids alone (ITEMS_LIMIT per right), not on how many templates the portal granted by name. And a single query keeps resolvability and title in one snapshot: a row deleted right now moves an id to the placeholder branch instead of dropping it out of both branches.

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/Integration/UI/AccessRights/V2/AccessRightsProvider.php
Расположение метода в файле
Строки 229–296

Исходный код

PHP