Метод columnOf

public static

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

public static function columnOf(Activity $activity): DateTime

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

Описание

The value the column of a stored state carries: the deadline of the model, or the sentinel where the model has none. A row read back from storage always carries one of the two, so this is the shape the readers legacy feeds off its fetched snapshots need - the aggregators of an update among them, which take the sentinel for a date of the year 9999 and register under it. THE ONE ROW IT SPEAKS OF WRONGLY carries NULL where the sentinel belongs. Legacy reads such a column as an empty value and registers nothing, while this answer is the sentinel and something is registered. Those rows are the ones a repair agent of the module was written for, and telling them from the ones without a deadline is beyond the boundary of the storage, which resolves both to null.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Service/Activity/Pipeline/Step/Shared/DeadlineSentinelGuard.php
Расположение метода в файле
Строки 174–177

Исходный код

PHP