Метод narrowStatesToVisible
Сигнатура метода
private static function narrowStatesToVisible(array $states, int $visibleForUserId): array
Возвращает:
array
Описание
Drops the templates the employee may not see. The narrowing is done over the result of the cache and never over the cache itself: the employee is not part of its key, so a set narrowed once and stored there would be handed to the next employee as his own.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$states
|
array
|
—
|
—
|
$visibleForUserId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/classes/general/workflowtemplateloader.php
Расположение метода в файле
Строки
1047–1057