Метод joinMemberRelationProbe
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
417–435
~/bitrix/modulesim/lib/V2/Recent/PreviewSource/UnreadFreshnessQuery.php
Исходный код
Сигнатура метода
private function joinMemberRelationProbe(Query $query, string $alias, string $chatIdExpression, string $joinType): void
Возвращает:
void
Описание
Joins the user's relation to a chat, requiring it to be neither muted nor hidden. Unlike {@see requireAccessibleRelation}, the user match and the mute/hidden guards live in the JOIN condition (not WHERE) so a LEFT join can serve as a nullable accessibility probe, and USER_ID is matched to the driving unread row so one statement serves all members.
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$query
|
Query
|
-
|
-
|
$alias
|
string
|
-
|
-
|
$chatIdExpression
|
string
|
-
|
-
|
$joinType
|
string
|
-
|
-
|