Метод buildSchedules

private

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

private function buildSchedules(int $templateId, array $scheduleTriggers, array $templateConstants, array $existingSchedules): array

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

Описание

Rows the template describes, in the order of its triggers. A trigger whose properties describe no schedule is dropped here, so the caller learns before it takes anything whether there is something to store at all. Nothing in the building reads or writes the schedule table, therefore an entity built ahead of the transaction is the same entity the loop inside it would have built.

Параметры

4
Имя Тип По умолчанию Флаги
$templateId int —
—
$scheduleTriggers array —
—
$templateConstants array —
—
$existingSchedules array —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/Service/Trigger/Schedule/ScheduleSyncService.php
Расположение метода в файле
Строки 175–215

Исходный код

PHP