Метод updateEmbedding
Сигнатура метода
public function updateEmbedding(int $userId, int $formId, EmbeddingChangeSet $changeSet, DateTime $expectedModifiedTime): void
Возвращает:
void
Описание
Applies the change set to the embedding settings of an existing CRM form. What the change set does not carry is left as it is - the settings of the other variants included. A change set carrying nothing writes nothing: it is answered by the checks alone, the version of the form among them.
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userId
|
int
|
—
|
—
|
$formId
|
int
|
—
|
—
|
$changeSet
|
EmbeddingChangeSet
|
—
|
—
|
$expectedModifiedTime
|
DateTime
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Service/WebForm/EmbeddingWriter.php
Расположение метода в файле
Строки
121–141