Метод lockTemplateForUpdate
Сигнатура метода
public function lockTemplateForUpdate(int $templateId): bool
Возвращает:
bool
Описание
Serializes pilot writes with every write of the common template row. The caller owns the transaction. The lock is therefore held until that caller commits or rolls back.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Repository/WorkflowTemplate/PilotVersionRepository.php
Расположение метода в файле
Строки
30–44