Метод injectCollabPreviewSources
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
810–861
~/bitrix/modulesim/lib/recent.php
Исходный код
Сигнатура метода
private static function injectCollabPreviewSources(array &$result, array $collabPreviewSources, bool $upperKeys, array $collabOwnMessages = [], array $ownIdByCollab = []): void
Возвращает:
void
Описание
Injects the inline nestedChat identity and the additive own last message into matching collab rows AFTER any snake_case jsonRow conversion, so the camelCase nested keys reach the client verbatim. Key names follow the path casing: camelCase on the JSON path, UPPER_CASE on the non-JSON path.
Параметры
5| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$result
|
array
|
-
|
|
$collabPreviewSources
|
array
|
-
|
-
|
$upperKeys
|
bool
|
-
|
-
|
$collabOwnMessages
|
array
|
[]
|
-
|
$ownIdByCollab
|
array
|
[]
|
-
|