Метод requireAccessibleRelation
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
267–285
~/bitrix/modulesim/lib/V2/Recent/PreviewSource/UnreadFreshnessQuery.php
Исходный код
Сигнатура метода
private function requireAccessibleRelation(Query $query, string $alias, string $chatIdExpression, int $userId): void
Возвращает:
void
Описание
INNER-joins the user's relation to a chat and requires it to be neither muted nor hidden.
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$query
|
Query
|
-
|
-
|
$alias
|
string
|
-
|
-
|
$chatIdExpression
|
string
|
-
|
-
|
$userId
|
int
|
-
|
-
|