1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
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\Error
Определения
error.php:15
Bitrix\Pull\Channel\getPublicIds
static getPublicIds($params=[])
Определения
channel.php:25
Bitrix\Pull\Controller\Channel
Определения
channel.php:7
Bitrix\Pull\Controller\Channel\getPublicIdsAction
getPublicIdsAction(array $users)
Определения
channel.php:8
CPullChannel\TYPE_PRIVATE
const TYPE_PRIVATE
Определения
pull_channel.php:9
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Main\Controller
Определения
agreement.php:2
Bitrix\Pull\Controller
Определения
channel.php:3
$config
$config
Определения
quickway.php:69
bitrix
modules
pull
lib
controller
channel.php
Создано системой
1.14.0