Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс FavoriteChat
+ Граф наследования:FavoriteChat:

Открытые члены

 getCompanion (?int $userId=null)
 
 getDialogId ()
 
 getDialogContextId ()
 
 load ($source=null)
 
 save ()
 
 add (array $params, ?Context $context=null)
 
- Открытые члены унаследованные от PrivateChat
 allowMention ()
 
 setManageSettings (string $manageSettings)
 
 setManageUsersAdd (string $manageUsersAdd)
 
 setManageUsersDelete (string $manageUsersDelete)
 
 setManageUI (string $manageUI)
 
 setCanPost (string $canPost)
 
 getStartId (?int $userId=null)
 
 getDisplayedTitle ()
 
 addUsers (array $userIds, array $managerIds=[], ?bool $hideHistory=null, bool $withMessage=true, bool $skipRecent=false)
 
 sendPushUpdateMessage (Message $message)
 
 sendMessage ($message, $sendingConfig=null)
 
 getPopupData (array $excludedList=[])
 

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

static find (array $params=[], ?Context $context=null)
 
static getTitlePhrase ()
 
- Открытые статические члены унаследованные от Chat
static getTypes ()
 
static getType ($chatData)
 
static getRelation ($chatId, $params=[])
 
static mute ($chatId, $action, $userId=null)
 
static getMessageCount ($chatId, $userId=null)
 
static hasAccess ($chatId)
 
static getMessages ($chatId, $userId=null, $options=Array())
 
static getUsers ($chatId, $options=[])
 
static getById ($id, $params=array())
 
static getList ($params=array())
 
static formatChatData ($chat)
 
static getListParams ($params)
 
static toJson ($array)
 
static isUserInChat ($chatId, $userId=0)
 
static isUserKickedFromChat ($chatId, $userId=0)
 
static checkReplicaDeprecatedAgent ()
 
static isActionAllowed ($dialogId, $action, $entityType=null)
 
static getOwnerById ($dialogId)
 
static fillCounterData (array $chats)
 

Защищенные члены

 getDefaultEntityType ()
 
 checkAccessWithoutCaching (int $userId)
 
 sendBanner ()
 
 prepareParams (array $params=[])
 
 addIndex ()
 
 updateIndex ()
 
- Защищенные члены унаследованные от PrivateChat
 getDefaultType ()
 
 sendPushReadSelf (MessageCollection $messages, int $lastId, int $counter)
 
 sendPushReadOpponent (MessageCollection $messages, int $lastId)
 
 sendPushUnreadSelf (int $unreadToId, int $lastId, int $counter, ?array $lastMessageStatuses=null)
 
 sendEventRead (int $startId, int $endId, int $counter, bool $byEvent)
 

Дополнительные унаследованные члены

- Открытые атрибуты унаследованные от Chat
const TYPE_SYSTEM = 'S'
 
const TYPE_PRIVATE = 'P'
 
const TYPE_OPEN = 'O'
 
const TYPE_THREAD = 'T'
 
const TYPE_GROUP = 'C'
 
const TYPE_CHANNEL = 'N'
 
const TYPE_OPEN_LINE = 'L'
 
const STATUS_UNREAD = 0
 
const STATUS_NOTIFY = 1
 
const STATUS_READ = 2
 
const LIMIT_SEND_EVENT = 30
 
const FILTER_LIMIT = 50
 
- Защищенные данные унаследованные от PrivateChat
const EXTRANET_CAN_SEE_HISTORY = true
 

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

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

Методы

◆ add()

add ( array $params,
?Context $context = null )
Аргументы
array$params
Context | null$context
Возвращает
Result

Переопределяет метод предка PrivateChat.

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

◆ addIndex()

addIndex ( )
protected

Переопределяет метод предка PrivateChat.

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

◆ checkAccessWithoutCaching()

checkAccessWithoutCaching ( int $userId)
protected

Переопределяет метод предка PrivateChat.

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

◆ find()

static find ( array $params = [],
?Context $context = null )
static

Looks for self-personal chat by its owner.

Аргументы
array$params
[
    (int) TO_USER_ID
]
Возвращает
Result

Переопределяет метод предка PrivateChat.

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

◆ getCompanion()

getCompanion ( ?int $userId = null)

Переопределяет метод предка PrivateChat.

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

◆ getDefaultEntityType()

getDefaultEntityType ( )
protected

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

◆ getDialogContextId()

getDialogContextId ( )

Переопределяет метод предка PrivateChat.

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

◆ getDialogId()

getDialogId ( )

Переопределяет метод предка PrivateChat.

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

◆ getTitlePhrase()

static getTitlePhrase ( )
static

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

◆ load()

load ( $source = null)
Аргументы
int | array | EO_Chat$source

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

◆ prepareParams()

prepareParams ( array $params = [])
protected

Переопределяет метод предка PrivateChat.

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

◆ save()

save ( )
Возвращает
Result

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

◆ sendBanner()

sendBanner ( )
protected

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

◆ updateIndex()

updateIndex ( )
protected

Переопределяет метод предка PrivateChat.

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