Метод modifiedTime

private static

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

private static function modifiedTime(array $row, bool $selected): ?DateTime

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

Описание

The version of the form, with the creation time standing in for an empty column. The column stays nullable for good on a portal the release updater has added it to: adding a `NOT NULL` column without a default to a live table is forbidden, and the updater does not tighten it afterwards either. Nor is it always filled: an installation that takes the schema changes of an update while deferring the state ones ({@see \Bitrix\Main\UpdateSystem\Migration\DatabaseUpdateMode::DdlOnly}) gets the column and not the backfill that follows it, and keeps it empty until a full update. So the stand-in is part of the read contract rather than a measure for the window before the backfill: it is the same value the backfill stores, so a client that reads it and sends it back as the expected version passes the check of the write.

Параметры

2
Имя Тип По умолчанию Флаги
$row array —
—
$selected bool —
—

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

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

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

Исходный код

PHP