Метод applyActive
Сигнатура метода
public static function applyActive(Query $query): void
Возвращает:
void
Описание
Narrows the query to active launched copies: a copy (SYSTEM_CODE IS NULL) that has been started (ACTIVATED_AT IS NOT NULL) and is switched on (ACTIVE = 'Y'). ACTIVE is not a live-run check: the flag is written once, when the template is copied, and no product path clears it. It separates copies from system rows, which are installed inactive, and keeps this definition symmetric with the grid filter.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$query
|
Query
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Repository/WorkflowTemplate/Query/LaunchedCopyQuery.php
Расположение метода в файле
Строки
60–63