Метод resolvePreviewSourceColumns
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
119–147
~/bitrix/modulesim/lib/V2/Reading/RecentReader.php
Исходный код
Сигнатура метода
private function resolvePreviewSourceColumns(Chat $chat, int $userId, bool $unread): ?array
Возвращает:
?array
Описание
Resolves the preview-source pointer columns for a collab recent row, to piggyback onto the same single-row update. Returns null (pointer untouched) for non-collab rows, when unread, or when the feature flag is off.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$chat
|
Chat
|
-
|
-
|
$userId
|
int
|
-
|
-
|
$unread
|
bool
|
-
|
-
|