Метод getTemplateVersion

private

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

private function getTemplateVersion(int $templateId): ?DateTime

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

Описание

Version key of a template worth capturing, null when there is nothing to capture for: the template is already deleted, or it is a system one (non-empty SYSTEM_CODE), and the editor never resolves such a template, so its snapshot would be stored without a reader.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/Service/LastValues/CaptureService.php
Расположение метода в файле
Строки 364–390

Исходный код

PHP