Метод separateWriteFields

private

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

private function separateWriteFields(array $fields): array

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

Описание

Splits a field set of this class into what the write of the area knows and what it does not. The first part is the typed set the write service takes; the second is everything else, passed to the storage as it came - the user fields of the portal, which the table writes itself, and the keys the table silently drops, which is how a set naming an address field or a field of no entity at all has always behaved. A value the typed set will not hold goes to the storage as well rather than being refused here: the table has always been the one deciding what to do with it, and refusing it now would turn a silent loss of a stray value into an exception on any of the callers of this class.

Параметры

1
Имя Тип По умолчанию Флаги
$fields array —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/entityrequisite.php
Расположение метода в файле
Строки 1400–1425

Исходный код

PHP