Bitrix API

Http

Table of Contents

Constants

BACK_URL  = '/bitrix/tools/transformer_result.php'
CIRCUIT_BREAKER_ERRORS_SEARCH_PERIOD  = 1800
CIRCUIT_BREAKER_ERRORS_THRESHOLD  = 5
CONNECTION_ERROR  = 'no connection with controller'
MODULE_ID  = 'transformer'
TYPE_BITRIX24  = 'B24'
TYPE_CP  = 'BOX'
VERSION  = 1

Methods

__construct()  : mixed
getServerAddress()  : string
query()  : array<string|int, mixed>
Add necessary parameters to post and send it to the controller.

Constants

BACK_URL

public mixed BACK_URL = '/bitrix/tools/transformer_result.php'

CIRCUIT_BREAKER_ERRORS_SEARCH_PERIOD

public mixed CIRCUIT_BREAKER_ERRORS_SEARCH_PERIOD = 1800

CIRCUIT_BREAKER_ERRORS_THRESHOLD

public mixed CIRCUIT_BREAKER_ERRORS_THRESHOLD = 5

CONNECTION_ERROR

public mixed CONNECTION_ERROR = 'no connection with controller'

MODULE_ID

public mixed MODULE_ID = 'transformer'

TYPE_BITRIX24

public mixed TYPE_BITRIX24 = 'B24'

TYPE_CP

public mixed TYPE_CP = 'BOX'

VERSION

public mixed VERSION = 1

Methods

__construct()

public __construct() : mixed

getServerAddress()

public static getServerAddress() : string
Return values
string

query()

Add necessary parameters to post and send it to the controller.

public query(string $command, string $guid[, array<string|int, mixed> $params = array() ]) : array<string|int, mixed>
Parameters
$command : string

Command to be executed.

$guid : string

GUID of the command to form back url.

$params : array<string|int, mixed> = array()

Parameters of the command.

Tags
throws
ArgumentNullException
throws
ArgumentTypeException
Return values
array<string|int, mixed>

        
On this page

Search results