Метод resolveEntityTypeIdFromValue

private static

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

private static function resolveEntityTypeIdFromValue(string $document): int

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

Описание

Single point that reads an entity type out of the raw value of the control, and the only form of the value the node trusts. The document class in the middle of the triple is what the permission dispatcher asks about the document type, and it arrives from the caller: nothing but the entity type survives here, and the triple itself is rebuilt from it by CCrmBizProcHelper. A value that is neither a triple nor an entity type name resolves to nothing instead of being taken apart.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/install/activities/bitrix/crmsmartmanualstarttrigger/crmsmartmanualstarttrigger.php
Расположение метода в файле
Строки 105–113

Исходный код

PHP