Метод getEmbedding

public

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

public function getEmbedding(int $userId, int $formId): Embedding

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

Описание

Returns the direct embedding options of a CRM form together with the links they are shown under. An inactive form is a complete answer: every variant comes back as usual and the activity of the form is a flag of the result, not a reason to refuse.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Service/WebForm/EmbeddingReader.php
Расположение метода в файле
Строки 174–188

Исходный код

PHP