Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
channel.php
1
<?php
2
3
namespace
Bitrix\Pull\Controller
;
4
use \Bitrix\Main\Error;
5
6
class
Channel
extends
\Bitrix\Main\Engine\Controller
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
}
Bitrix\Main\Engine\Controller
Definition
controller.php:32
Bitrix\Main\Error
Definition
error.php:14
Bitrix\Pull\Controller\Channel
Definition
channel.php:7
Bitrix\Pull\Controller\Channel\getPublicIdsAction
getPublicIdsAction(array $users)
Definition
channel.php:8
Bitrix\Pull\Controller
Definition
channel.php:3
modules
pull
lib
controller
channel.php
Создано системой
1.10.0