Метод update

public

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

public function update(int $userId, int $formId, WebFormChangeSet $changeSet, ?DateTime $expectedModifiedTime = null): void

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

Описание

Applies the change set to an existing CRM form. What the change set does not carry is left as it is. Success is the absence of an exception. The page of the form is not touched: a change reaches the visitor through the rebuilt script the page loads. A change set carrying nothing writes nothing and rebuilds nothing - it is answered by the checks alone.

Параметры

4
Имя Тип По умолчанию Флаги
$userId int —
—
$formId int —
—
$changeSet WebFormChangeSet —
—
$expectedModifiedTime ?DateTime null
—

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

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

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

Исходный код

PHP