1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Recent
Граф наследования:Recent:
RecentAiAssistant RecentChannel RecentCollab RecentSync

Открытые статические члены

static get ($userId=null, $options=[])
static getList ($userId=null, $options=[])
static getElement ($itemType, $itemId, $userId=null, $options=[])
static pin ($dialogId, $pin, $userId=null)
static sortPin (\Bitrix\Im\V2\Chat $chat, int $newPosition, int $userId)
static getPinLimit ()
static updatePinSortCost (int $userId)
static updateByFilter (array $filter, array $fields)
static raiseChat (\Bitrix\Im\V2\Chat $chat, RelationCollection $relations, ?DateTime $lastActivity=null)
static sendPullRecentUpdate (\Bitrix\Im\V2\Chat $chat, array $userIds, ?DateTime $lastCommentDate)
static merge (array $fields, array $update)
static getUsersOutOfRecent (\Bitrix\Im\V2\Chat $chat)
static unread ($dialogId, $unread, $userId=null, ?int $markedId=null, ?string $itemTypes=null)
static readAll (int $userId)
static isUnread (int $userId, string $itemType, string $dialogId)
static getUnread (string $itemType, string $dialogId)
static getMarkedId (int $userId, string $itemType, string $dialogId)
static getMarkedIdByChatIds (int $userId, array $chatIds)
static hide ($dialogId, $userId=null)
static show ($dialogId, $options=[], $userId=null)
static clearCache ($userId=null)
static isLimitError ()

Защищенные статические члены

static prepareRows (array $rows, int $userId, bool $shortInfo=false)
static getKeysForFetchAdditionalEntities (array $rows)
static getMessageParams (array $messageIds)
static fillFiles (array $params, array $fileIds)
static fillRows (array $rows, array $params, array $counters, int $userId)
static getRole (array $row)

Подробное описание

См. определение в файле recent.php строка 47

Методы

◆ clearCache()

clearCache ( $userId = null)
static

См. определение в файле recent.php строка 2061

◆ fillFiles()

fillFiles ( array $params,
array $fileIds )
staticprotected

См. определение в файле recent.php строка 2146

◆ fillRows()

fillRows ( array $rows,
array $params,
array $counters,
int $userId )
staticprotected

См. определение в файле recent.php строка 2180

◆ get()

get ( $userId = null,
$options = [] )
static

См. определение в файле recent.php строка 54

◆ getElement()

getElement ( $itemType,
$itemId,
$userId = null,
$options = [] )
static

См. определение в файле recent.php строка 564

◆ getKeysForFetchAdditionalEntities()

getKeysForFetchAdditionalEntities ( array $rows)
staticprotected

См. определение в файле recent.php строка 2076

◆ getList()

getList ( $userId = null,
$options = [] )
static

См. определение в файле recent.php строка 237

◆ getMarkedId()

getMarkedId ( int $userId,
string $itemType,
string $dialogId )
static

См. определение в файле recent.php строка 1859

◆ getMarkedIdByChatIds()

getMarkedIdByChatIds ( int $userId,
array $chatIds )
static

См. определение в файле recent.php строка 1878

◆ getMessageParams()

getMessageParams ( array $messageIds)
staticprotected

См. определение в файле recent.php строка 2097

◆ getPinLimit()

getPinLimit ( )
static

См. определение в файле recent.php строка 1554

◆ getRole()

getRole ( array $row)
staticprotected
См. также
\Bitrix\Im\V2\Chat::getRole()
Аргументы
array$row
Возвращает
string

См. определение в файле recent.php строка 2205

◆ getUnread()

getUnread ( string $itemType,
string $dialogId )
static

См. определение в файле recent.php строка 1838

◆ getUsersOutOfRecent()

getUsersOutOfRecent ( \Bitrix\Im\V2\Chat $chat)
static

См. определение в файле recent.php строка 1655

◆ hide()

hide ( $dialogId,
$userId = null )
static

См. определение в файле recent.php строка 1902

◆ isLimitError()

isLimitError ( )
static

См. определение в файле recent.php строка 2223

◆ isUnread()

isUnread ( int $userId,
string $itemType,
string $dialogId )
static

См. определение в файле recent.php строка 1819

◆ merge()

merge ( array $fields,
array $update )
static

См. определение в файле recent.php строка 1650

◆ pin()

pin ( $dialogId,
$pin,
$userId = null )
static

См. определение в файле recent.php строка 1258

◆ prepareRows()

prepareRows ( array $rows,
int $userId,
bool $shortInfo = false )
staticprotected

См. определение в файле recent.php строка 2067

◆ raiseChat()

raiseChat ( \Bitrix\Im\V2\Chat $chat,
RelationCollection $relations,
?DateTime $lastActivity = null )
static

См. определение в файле recent.php строка 1582

◆ readAll()

readAll ( int $userId)
static

См. определение в файле recent.php строка 1805

◆ sendPullRecentUpdate()

sendPullRecentUpdate ( \Bitrix\Im\V2\Chat $chat,
array $userIds,
?DateTime $lastCommentDate )
static

См. определение в файле recent.php строка 1623

◆ show()

show ( $dialogId,
$options = [],
$userId = null )
static

См. определение в файле recent.php строка 1907

◆ sortPin()

sortPin ( \Bitrix\Im\V2\Chat $chat,
int $newPosition,
int $userId )
static

См. определение в файле recent.php строка 1456

◆ unread()

unread ( $dialogId,
$unread,
$userId = null,
?int $markedId = null,
?string $itemTypes = null )
static

См. определение в файле recent.php строка 1674

◆ updateByFilter()

updateByFilter ( array $filter,
array $fields )
static

См. определение в файле recent.php строка 1577

◆ updatePinSortCost()

updatePinSortCost ( int $userId)
static

См. определение в файле recent.php строка 1559


Объявления и описания членов класса находятся в файле: