Метод getVisible
Сигнатура метода
private function getVisible(int $entityTypeId, int $userId): array
Возвращает:
array
Описание
The whole visible set: every category of the entity type the user is allowed to read, ordering untouched. Permissions are applied before the page is cut - the other way round the page size would depend on who reads it.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$entityTypeId
|
int
|
—
|
—
|
$userId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Service/Category/CategoryReader.php
Расположение метода в файле
Строки
68–77