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

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

 setEntityMap (array $entityMap)
 
 setExtranet (?bool $extranet)
 
 getExtranet ()
 
- Открытые члены унаследованные от EntityChat
 getEntityMap ()
 
 getEntityData (bool $force=false)
 
- Открытые члены унаследованные от GroupChat
 setType (string $type)
 
 allowMention ()
 
 add (array $params, ?Context $context=null)
 
 checkTitle ()
 
 sendPushUpdateMessage (Message $message)
 
 sendMessage ($message, $sendingConfig=null)
 
 getPopupData (array $excludedList=[])
 

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

 sendMessageAuthorChange (\Bitrix\Im\V2\Entity\User\User $author)
 
 getDefaultEntityType ()
 
 updateIndex ()
 
 addIndex ()
 
- Защищенные члены унаследованные от GroupChat
 getDefaultType ()
 
 needToSendGreetingMessages ()
 
 checkAccessWithoutCaching (int $userId)
 
 filterParams (array $params)
 
 prepareParams (array $params=[])
 
 addUsersToRelation (array $usersToAdd, array $managerIds=[], ?bool $hideHistory=null)
 
 generateTitle ()
 
 sendPushReadOpponent (MessageCollection $messages, int $lastId)
 
 sendGreetingMessage (?int $authorId=null)
 
 getCodeGreetingMessage (\Bitrix\Im\V2\Entity\User\User $author)
 
 sendBanner (?int $authorId=null)
 
 sendInviteMessage (?int $authorId=null)
 
 sendDescriptionMessage (?int $authorId=null)
 

Защищенные данные

 $entityMap
 
- Защищенные данные унаследованные от EntityChat
const ENTITY_SEPARATOR = '|'
 
const ENTITY_MAP_FIELDS = ['entityId', 'entityData1', 'entityData2', 'entityData3']
 
 $entityMap
 
 $entityData = []
 

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

- Открытые статические члены унаследованные от EntityChat
static find (array $params=[], ?Context $context=null)
 
- Открытые статические члены унаследованные от 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)
 
- Открытые атрибуты унаследованные от 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
 

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

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

Методы

◆ addIndex()

addIndex ( )
protected

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

◆ getDefaultEntityType()

getDefaultEntityType ( )
protected

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

◆ getExtranet()

getExtranet ( )

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

◆ sendMessageAuthorChange()

sendMessageAuthorChange ( \Bitrix\Im\V2\Entity\User\User $author)
protected

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

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

◆ setEntityMap()

setEntityMap ( array $entityMap)

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

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

◆ setExtranet()

setExtranet ( ?bool $extranet)

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

◆ updateIndex()

updateIndex ( )
protected

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

Данные класса

◆ $entityMap

$entityMap
protected
Инициализатор
= [
'entityId' => [
'connectorId',
'lineId',
],
'entityData1' => [
'readed',
'readedId',
'readedTime',
'sessionId',
'showForm',
'welcomeFormNeeded',
'welcomeFormSent'
],
'entityData2' => [],
'entityData3' => [],
]

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