Метод prepareFieldsToStore

private static

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

private static function prepareFieldsToStore(array $fields): array

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

Описание

The columns the table takes, with an empty text value turned into no value at all. A blank column of the table has held a null and not an empty string since the merge of the old write path, and this is where that conversion belongs: the caller keeps the row it built, empty strings and all, and only what goes into the table is stripped of them.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Repository/Address/AddressRepository.php
Расположение метода в файле
Строки 355–368

Исходный код

PHP