Метод fieldsOf
Сигнатура метода
private static function fieldsOf(FieldsStructure $fields, RequiredGroup $group): array
Возвращает:
array
Описание
The set of fields the scenario is given: the fields the request carried and no key at all for the ones it did not. The difference is kept by the value of the contract itself - a field left out of the set stays an uninitialised property, and only an initialised property becomes a key. Nothing here turns an absent field into a null one and nothing here makes up a default: which fields a value keeps and what an absent one is filled with are answers of the domain.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$fields
|
FieldsStructure
|
—
|
—
|
$group
|
RequiredGroup
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Infrastructure/Rest/CustomController/Dictionary/DictionaryValue.php
Расположение метода в файле
Строки
350–353