1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
FilterUsersByAccessEvent.php
См. документацию.
1<?php
2
3namespace Bitrix\Im\V2\Chat\ExternalChat\Event;
4
5use Bitrix\Im\V2\Chat\ExternalChat;
6
8{
9 public function __construct(ExternalChat $chat, array $userIds)
10 {
11 $parameters = ['userIds' => $userIds];
12
13 parent::__construct($chat, $parameters);
14 }
15
16 protected function getActionName(): string
17 {
18 return 'FilterUsersByAccess';
19 }
20
21 public function getUserIds(): array
22 {
23 return $this->parameters['userIds'];
24 }
25
26 public function getUsersWithAccess(): array
27 {
28 $userIds = $this->getParameterFromResult('userIds');
29 if (!is_array($userIds))
30 {
31 return [];
32 }
33
34 return $userIds;
35 }
36}
__construct(ExternalChat $chat, array $userIds)
Определения FilterUsersByAccessEvent.php:9
$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