Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
sqs.php
1<?php
2namespace Bitrix\Rest;
3
6
7class Sqs
8{
9 const DATA_CHARSET = "utf-8";
10
11 const CATEGORY_DEFAULT = "default";
12 const CATEGORY_IMPORTANT = "important";
13 const CATEGORY_BOT = "bot";
14 const CATEGORY_CRM = "crm";
15 const CATEGORY_BIZPROC = "bizproc";
16 const CATEGORY_TELEPHONY = "telephony";
17
18 public static function queryItem($clientId, $url, $data, array $authData = array(), array $additional = array())
19 {
20 return array(
21 'client_id' => $clientId,
22 'additional' => $additional,
23 'auth' => $authData,
24 'query' => array(
25 'DOMAIN' => Context::getCurrent()->getRequest()->getHttpHost(),
26 'QUERY_URL' => $url,
27 'QUERY_DATA' => $data,
28 ),
29 );
30 }
31}
static getCurrent()
Definition context.php:241
const CATEGORY_CRM
Definition sqs.php:14
const CATEGORY_BOT
Definition sqs.php:13
static queryItem($clientId, $url, $data, array $authData=array(), array $additional=array())
Definition sqs.php:18
const DATA_CHARSET
Definition sqs.php:9
const CATEGORY_DEFAULT
Definition sqs.php:11
const CATEGORY_TELEPHONY
Definition sqs.php:16
const CATEGORY_BIZPROC
Definition sqs.php:15
const CATEGORY_IMPORTANT
Definition sqs.php:12