Метод resolveScopeForUser

private

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

private function resolveScopeForUser(int $entityTypeId, ?int $categoryId): ?array

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

Описание

Resolves the scope for user-initiated actions (opening/saving the slider). If the entity supports categories but has no default one, creates it on the fly (an explicit side effect under user intent, not a read).

Параметры

2
Имя Тип По умолчанию Флаги
$entityTypeId int —
—
$categoryId ?int —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/controller/settings/ai.php
Расположение метода в файле
Строки 139–176

Исходный код

PHP