Метод toDeletionAnswer

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

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

Путь к исходному файлу строки 350–358
~/bitrix/modulesim/lib/V2/Chat/Update/UpdateService.php

Исходный код

PHP
protected

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

protected function toDeletionAnswer(array $answers, int $userId): ?bool

Возвращает: ?bool

Описание

Null means two different things on the two sides: the structure could not be asked, and nobody has asked yet. Passed through as the second, the first would send deleteUser() to ask again for every member - the repetition the batch exists to remove. Unanswered keeps the restriction anyway, so it travels on as "held".

Параметры

2
Имя Тип По умолчанию Флаги
$answers array -
-
$userId int -
-