Метод markNoCommonVersion
Сигнатура метода
public function markNoCommonVersion(int $templateId): bool
Возвращает:
bool
Описание
Records that the template has never been published for everyone. The live scheme is not consulted and not changed: a template created by the editor carries the stub of the converter, which is a scheme like any other, so the answer cannot be derived from it and is written here as an answer of its own. The record is overwritten by the first write of the live scheme - that is the publication for everyone, and the common version really does appear there.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Service/Pilot/CommonRevisionWriter.php
Расположение метода в файле
Строки
88–98