1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
OpenLineLiveChat.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Im\V2\Chat;
4
5
use Bitrix\Im\V2\Chat;
6
use Bitrix\Im\V2\Result;
7
8
class
OpenLineLiveChat
extends
EntityChat
9
{
10
protected
$entityMap
= [
11
'entityId'
=> [
12
'connectorId'
,
13
'lineId'
,
14
],
15
'entityData1'
=> [
16
'readed'
,
17
'readedId'
,
18
'readedTime'
,
19
'sessionId'
,
20
'showForm'
,
21
'welcomeFormNeeded'
,
22
'welcomeFormSent'
23
],
24
'entityData2'
=> [],
25
'entityData3'
=> [],
26
];
27
28
protected
function
validateAuthorId
(
int
$authorId):
Result
29
{
30
if
($authorId === 0)
31
{
32
return
new
Result
();
33
}
34
35
return
parent::validateAuthorId($authorId);
36
}
37
38
protected
function
sendMessageAuthorChange
(\
Bitrix
\
Im
\
V2
\
Entity
\
User
\
User
$author): void
39
{
40
return
;
41
}
42
43
protected
function
getDefaultEntityType
(): string
44
{
45
return
self::ENTITY_TYPE_LIVECHAT;
46
}
47
48
public
function
setEntityMap
(
array
$entityMap
):
EntityChat
49
{
50
return
$this;
51
}
52
53
public
function
setExtranet
(?
bool
$extranet): \
Bitrix
\
Im
\
V2
\
Chat
54
{
55
return
$this;
56
}
57
58
public
function
getExtranet
(): ?bool
59
{
60
return
false
;
61
}
62
63
protected
function
updateIndex
(): \
Bitrix
\
Im
\
V2
\
Chat
64
{
65
return
$this;
66
}
67
68
protected
function
addIndex
():
Chat
69
{
70
return
$this;
71
}
72
}
Bitrix\Im\V2\Chat\EntityChat
Определения
EntityChat.php:13
Bitrix\Im\V2\Chat\OpenLineLiveChat
Определения
OpenLineLiveChat.php:9
Bitrix\Im\V2\Chat\OpenLineLiveChat\getDefaultEntityType
getDefaultEntityType()
Определения
OpenLineLiveChat.php:43
Bitrix\Im\V2\Chat\OpenLineLiveChat\sendMessageAuthorChange
sendMessageAuthorChange(\Bitrix\Im\V2\Entity\User\User $author)
Определения
OpenLineLiveChat.php:38
Bitrix\Im\V2\Chat\OpenLineLiveChat\setExtranet
setExtranet(?bool $extranet)
Определения
OpenLineLiveChat.php:53
Bitrix\Im\V2\Chat\OpenLineLiveChat\getExtranet
getExtranet()
Определения
OpenLineLiveChat.php:58
Bitrix\Im\V2\Chat\OpenLineLiveChat\validateAuthorId
validateAuthorId(int $authorId)
Определения
OpenLineLiveChat.php:28
Bitrix\Im\V2\Chat\OpenLineLiveChat\addIndex
addIndex()
Определения
OpenLineLiveChat.php:68
Bitrix\Im\V2\Chat\OpenLineLiveChat\setEntityMap
setEntityMap(array $entityMap)
Определения
OpenLineLiveChat.php:48
Bitrix\Im\V2\Chat\OpenLineLiveChat\$entityMap
$entityMap
Определения
OpenLineLiveChat.php:10
Bitrix\Im\V2\Chat\OpenLineLiveChat\updateIndex
updateIndex()
Определения
OpenLineLiveChat.php:63
Bitrix\Main\DB\Result
Определения
result.php:20
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Im\V2\Chat\User
Определения
OwnerService.php:2
Bitrix\Im\V2\Chat
Bitrix\Im\V2
Определения
ActionUuid.php:3
Bitrix\Im
Bitrix\Main\Entity
Определения
ufield.php:9
Bitrix
bitrix
modules
im
lib
V2
Chat
OpenLineLiveChat.php
Создано системой
1.14.0