1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
UpdateFeature.php
См. документацию.
1<?php
2
3namespace Bitrix\Im\V2\Pull\Event;
4
5use Bitrix\Im\V2\Chat;
6use Bitrix\Im\V2\Pull\BaseEvent;
7use Bitrix\Im\V2\Pull\EventType;
8
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}
__construct(string $name, bool $value)
Определения UpdateFeature.php:14
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
EventType
Определения EventType.php:6