1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
UpdateFeature.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Im\V2\Pull\Event;
4
5
use Bitrix\Im\V2\Chat;
6
use Bitrix\Im\V2\Pull\BaseEvent;
7
use Bitrix\Im\V2\Pull\EventType;
8
9
class
UpdateFeature
extends
BaseEvent
10
{
11
protected
string
$name
;
12
protected
bool
$value
;
13
14
public
function
__construct
(
string
$name
,
bool
$value
)
15
{
16
parent::__construct();
17
$this->name =
$name
;
18
$this->value =
$value
;
19
}
20
21
protected
function
getRecipients
():
array
22
{
23
return
[];
24
}
25
26
protected
function
getBasePullParamsInternal
():
array
27
{
28
return
[
29
'name'
=>
$this->name
,
30
'value'
=>
$this->value
,
31
];
32
}
33
34
protected
function
getType
():
EventType
35
{
36
return
EventType::UpdateFeature;
37
}
38
39
public
function
getTarget
(): ?
Chat
40
{
41
return
null
;
42
}
43
44
public
function
isGlobal
(): bool
45
{
46
return
true
;
47
}
48
}
Bitrix\Im\V2\Pull\BaseEvent
Определения
BaseEvent.php:11
Bitrix\Im\V2\Pull\Event\UpdateFeature
Определения
UpdateFeature.php:10
Bitrix\Im\V2\Pull\Event\UpdateFeature\__construct
__construct(string $name, bool $value)
Определения
UpdateFeature.php:14
Bitrix\Im\V2\Pull\Event\UpdateFeature\isGlobal
isGlobal()
Определения
UpdateFeature.php:44
Bitrix\Im\V2\Pull\Event\UpdateFeature\getBasePullParamsInternal
getBasePullParamsInternal()
Определения
UpdateFeature.php:26
Bitrix\Im\V2\Pull\Event\UpdateFeature\$value
bool $value
Определения
UpdateFeature.php:12
Bitrix\Im\V2\Pull\Event\UpdateFeature\$name
string $name
Определения
UpdateFeature.php:11
Bitrix\Im\V2\Pull\Event\UpdateFeature\getType
getType()
Определения
UpdateFeature.php:34
Bitrix\Im\V2\Pull\Event\UpdateFeature\getRecipients
getRecipients()
Определения
UpdateFeature.php:21
Bitrix\Im\V2\Pull\Event\UpdateFeature\getTarget
getTarget()
Определения
UpdateFeature.php:39
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
Bitrix\Im\V2\Pull\EventType
EventType
Определения
EventType.php:6
bitrix
modules
im
lib
V2
Pull
Event
UpdateFeature.php
Создано системой
1.14.0