Метод mapChangeSet
Сигнатура метода
private function mapChangeSet(int $userId, FieldsStructure $fields, WebFormWriteContext $context): WebFormChangeSet
Возвращает:
WebFormChangeSet
Описание
The change set the request describes, read once the user is known to be allowed to write. The right comes first, the input second. Read the other way round, a request of a user without the right would be answered with what is wrong with it - the paths, the types, the properties of a contract they may not use at all.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userId
|
int
|
—
|
—
|
$fields
|
FieldsStructure
|
—
|
—
|
$context
|
WebFormWriteContext
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Infrastructure/Rest/Controller/Form/Form.php
Расположение метода в файле
Строки
291–300