Метод enrichCollabPreviewSources
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
122–152
~/bitrix/modulesim/lib/V2/Sync/Recent/RecentSync.php
Исходный код
Сигнатура метода
public function enrichCollabPreviewSources(int $userId): void
Возвращает:
void
Описание
Redirects collab recent rows to their materialized preview source: messageId to PREVIEW_SOURCE_MID and the source-chat hint to PREVIEW_SOURCE_CID. A disabled feature or a 0 pointer leaves the row as is. $userId is kept only for signature stability with the V2 read-path; the pointer is materialized on the row.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userId
|
int
|
-
|
-
|