Метод fromEditorContext

public static

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

public static function fromEditorContext(Context $context): self

Возвращает: self

Описание

Resolve the target key from an editor context. The category is taken from the item itself (resolved by entityId via {@see ItemIdentifier}) when available, otherwise from the explicit categoryId in the context.

Параметры

1
Имя Тип По умолчанию Флаги
$context Context —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/messagesender/customtemplate/crmtemplatetargetid.php
Расположение метода в файле
Строки 47–64

Исходный код

PHP