Метод exists
Сигнатура метода
public function exists(int $id): bool
Возвращает:
bool
Описание
Physical row-presence check. Intentionally broader than the business-level template lookups that exclude SYSTEM_CODE templates: this only disambiguates a 0-affected-rows update between a genuine no-op on an existing row and a deleted row, so a system template must count as existing.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$id
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Repository/WorkflowTemplate/WorkflowTemplateRepository.php
Расположение метода в файле
Строки
22–30