1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
BeforeUsersAddEvent.php
См. документацию.
1<?php
2
3namespace Bitrix\Im\V2\Chat\ExternalChat\Event;
4
5use Bitrix\Im\V2\Chat\ExternalChat;
6use Bitrix\Im\V2\Relation\AddUsersConfig;
7
9{
10 public function __construct(ExternalChat $chat, array $userIds, AddUsersConfig $config)
11 {
12 $parameters = ['userIds' => $userIds, 'config' => $config];
13
14 parent::__construct($chat, $parameters);
15 }
16
17 protected function getActionName(): string
18 {
19 return 'BeforeUsersAdd';
20 }
21
22 public function getUserIds(): array
23 {
24 return $this->parameters['userIds'];
25 }
26
28 {
29 return $this->parameters['config'];
30 }
31
32 public function getNewUserIds(): ?array
33 {
34 return $this->getParameterFromResult('userIds');
35 }
36
38 {
39 return $this->getParameterFromResult('config');
40 }
41}
__construct(ExternalChat $chat, array $userIds, AddUsersConfig $config)
Определения BeforeUsersAddEvent.php:10
$parameters
Определения event.php:8
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$config
Определения quickway.php:69