Метод joinOriginLink
Сигнатура метода
public static function joinOriginLink(Query $query, array $systemCodes): ConditionTree
Возвращает:
ConditionTree
Описание
Registers the origin-setting join on $query and returns the "launched copy of one of these system templates" predicate. The predicate is returned rather than applied because its two consumers combine it differently: the exists-check applies it as is, the grid filter ORs it with its own SYSTEM_CODE branch. The NAME predicate stays in the join ON clause: in the top-level WHERE it would make the LEFT JOIN null-rejecting and cut off system rows, which carry no origin setting at all.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$query
|
Query
|
—
|
—
|
$systemCodes
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Repository/WorkflowTemplate/Query/LaunchedCopyQuery.php
Расположение метода в файле
Строки
37–50