Метод validateParent
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
131–158
~/bitrix/modulesim/lib/V2/Chat/Update/UpdateService.php
Исходный код
Сигнатура метода
protected function validateParent(): Result
Возвращает:
Result
Описание
Integrity validation of the parent change only (tree consistency). Business rules of attach/detach (rights, transitions, departments) live in ChatTreeAttachmentManager. parentChatId === null means the parent is not changed; 0 means detach to root.