Метод enrichCollabPreviewSources
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
624–730
~/bitrix/modulesim/lib/recent.php
Исходный код
Сигнатура метода
private static function enrichCollabPreviewSources(array &$result, array $collabEntries, array $messageOptions, bool $shortInfo, array &$ownByCollab = [], array &$ownIdByCollab = []): array
Возвращает:
array
Описание
Redirects the displayed MESSAGE of collab rows to the per-user preview source (batch resolve) and builds the inline nestedChat identity for rows whose source is a child chat. The collab row stays the root row; only its MESSAGE payload is redirected. nestedChat is emitted only for a child source; for a main-chat source the row's own CHAT block already describes it.
Параметры
6| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$result
|
array
|
-
|
|
$collabEntries
|
array
|
-
|
-
|
$messageOptions
|
array
|
-
|
-
|
$shortInfo
|
bool
|
-
|
-
|
$ownByCollab
|
array
|
[]
|
|
$ownIdByCollab
|
array
|
[]
|
|