Метод mapChangeSet
Сигнатура метода
private function mapChangeSet(int $userId, FieldsStructure $fields): EmbeddingChangeSet
Возвращает:
EmbeddingChangeSet
Описание
The change set the request describes, read once the user is known to be allowed to write. The right comes first, the input second - the order the change of the form itself is read in ({@see Form::mapChangeSet()}): read the other way round, a request of a user without the right would be answered with what is wrong with it.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userId
|
int
|
—
|
—
|
$fields
|
FieldsStructure
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Infrastructure/Rest/Controller/Form/Embedding.php
Расположение метода в файле
Строки
164–169