Метод isSelectionComplete
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
230–233
~/bitrix/modulesim/lib/V2/Integration/AI/TaskCreation/MultipleMessagesCreator.php
Исходный код
Сигнатура метода
public static function isSelectionComplete(array $expectedIds, MessageCollection $messages): bool
Возвращает:
bool
Описание
The selection is intact only when every originally selected message is still available. A fully deleted message drops out of the reloaded MessageCollection, so a shorter collection means at least one message disappeared and the whole batch must be aborted (PRD ERR-015). Soft-delete is intentionally NOT treated as a break (decision 2026-06-25).
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$expectedIds
|
array
|
-
|
-
|
$messages
|
MessageCollection
|
-
|
-
|