Метод projectTransit

private

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

private function projectTransit(?StorageFieldTransit $transit, bool $isAdd): array

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

Описание

Values of the storage columns the legacy input carries, as they were handed over. The owner pair is left out: it is resolved together with the bindings. A COLUMN HANDED OVER AS NULL IS NOT WRITTEN, which is the same rule the columns of the model follow above and the rule of the legacy write itself: it assembles its row with `is_set()` and passes over a key whose value is null. The distinction matters because callers really do hand one over - the domain entity of a to-do names the calendar event of an activity that has none - and the columns of this table are not nullable, so writing it refuses the whole row. Whether the operation NAMED the column is a question of the steps and they ask the transit itself, so nothing above this point is affected.

Параметры

2
Имя Тип По умолчанию Флаги
$transit ?StorageFieldTransit —
—
$isAdd bool —
—

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

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

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

Исходный код

PHP