Метод fieldsToWrite

protected static

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

protected static function fieldsToWrite(Category $category): array

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

Описание

The fields the write is to carry - the ones the caller has given a value and only them ({@see self::valuesOfChangedFields()}), so that a field left alone keeps its stored value. Which of them the entity type accepts is not decided here: a field it does not is refused with {@see CategoryError::FIELD_NOT_WRITABLE} naming that field, rather than dropped on the way.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Public/Command/Category/AbstractCategoryCommand.php
Расположение метода в файле
Строки 123–134

Исходный код

PHP