Метод hasCommonVersion

public

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

public function hasCommonVersion(int $templateId): bool

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

Описание

The template has a common version - the single question the whole pilot branches on, asked so that the answer cannot depend on the order the callers ask it in: a template written before the feature existed has no revision stored, and reading the setting raw would call it a template that was never published for everyone.

Параметры

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

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

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

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

Исходный код

PHP