Метод merge

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

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

Путь к исходному файлу строки 614–689
~/bitrix/modulestasks/lib/checklist/checklistfacade.php

Исходный код

PHP
public static

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

public static function merge($entityId, $userId, $newItems, $parameters = [])

Описание

Sets new checklists for entity by merging with old ones (runs through $newItems, adds completely new to entity, detects differences and changes inner data of changed checklists, deletes all old checklists it did not traverse through).

Параметры

4
Имя Тип По умолчанию Флаги
$entityId - -
-
$userId - -
-
$newItems - -
-
$parameters - []
-