Метод visibleAmong
Сигнатура метода
private function visibleAmong(?int $initiatorId, array $restricted): array
Возвращает:
array
Описание
Hiding acts regardless of the rollout flag while showing does not: with the feature off the audience is never asked, so nobody is a participant and a template living in its pilot version only is available to no one. The required behaviour of a switched off feature follows from the same rule.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$initiatorId
|
?int
|
—
|
—
|
$restricted
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Public/Provider/PilotVisibilityProvider.php
Расположение метода в файле
Строки
124–143