Метод resolveStageGroupScope
Сигнатура метода
protected static function resolveStageGroupScope(?string $entityId): ?ConfigurationScope
Возвращает:
?ConfigurationScope
Описание
The contour of the funnel whose stages $entityId holds, and null when the dictionary is not a stage group at all. The registry of the dictionaries tells the two apart: a stage group is an entry naming the entity type its stages belong to. The registry is built once per process rather than once per check: GetEntityTypes() raises the invoice settings, the smart invoice and smart document factories, the deal funnels and the whole map of the dynamic types, and a REST batch asks this fifty times over. A dictionary name the memo does not hold rebuilds it once per process and is remembered as absent after that, so names that are no stage group - which the client is free to invent - cost one rebuild between them all. A name is remembered no longer than the set of the dictionaries stands: creating or deleting a funnel or a dynamic type forgets the registry through {@see invalidateStageGroups()}.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$entityId
|
?string
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/classes/general/crm_status.php