Метод buildTriggersToResync

private static

Сигнатура метода

private static function buildTriggersToResync(array $nodes): array

Возвращает: array

Описание

A repair must not cost the template more than it fixes, so it differs from the regular build twice. The nodes are built one by one: a node whose activity class is gone or throws would otherwise take the whole template with it, including the very rows the repair is about. A trigger that builds no rules is dropped instead of being written: empty rules are read as "applies to any document", and an activity file older than this repair - the module owning it is updated on its own schedule - would replace the stored rules with exactly that.

Параметры

1
Имя Тип По умолчанию Флаги
$nodes array —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/workflow/template/entity/workflowtemplatetrigger.php
Расположение метода в файле
Строки 211–233

Исходный код

PHP