Метод checkRequiredFields
Сигнатура метода
protected function checkRequiredFields(array $fields, array $compatibleOptions, array $requiredFields, ?int $id = null, bool $enrichCurrentFieldsWithPrevious = false): Result
Возвращает:
Result
Описание
Any adapter in a family can call this method to check fields by this adapter and its children.
Параметры
5| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$fields
|
array
|
—
|
—
|
$compatibleOptions
|
array
|
—
|
—
|
$requiredFields
|
array
|
—
|
—
|
$id
|
?int
|
null
|
—
|
$enrichCurrentFieldsWithPrevious
|
bool
|
false
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/entity/compatibility/adapter.php
Расположение метода в файле
Строки
85–116