Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
channel.php
1<?php
2
4use \Bitrix\Main\Error;
5
7{
8 public function getPublicIdsAction(array $users)
9 {
10 $config = \Bitrix\Pull\Channel::getPublicIds([
11 'TYPE' => \CPullChannel::TYPE_PRIVATE,
12 'USERS' => $users,
13 'JSON' => true
14 ]);
15
16 if (!$config)
17 {
18 $this->errorCollection[] = new Error("Push & Pull server is not configured", "SERVER_ERROR");
19 return null;
20 }
21
22 return $config;
23 }
24}
getPublicIdsAction(array $users)
Definition channel.php:8