1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CSecurityCloudMonitorRequest

Открытые члены

 __construct ($action, $protocolVersion, $token="")
 setCheckingToken ($checkingToken)
 getCheckingToken ()
 receiveData ($action)
 isOk ()
 isFatalError ()
 isError ()
 isSuccess ()
 getValue ($key)

Поля данных

const BITRIX_CHECKER_URL_PATH = "/bitrix/site_checker.php"
const REMOTE_STATUS_OK = "ok"
const REMOTE_STATUS_ERROR = "error"
const REMOTE_STATUS_FATAL_ERROR = "fatal_error"
const TIMEOUT = 10

Защищенные члены

 checkStatus ($status)
 getPayload ($action="check", $collectInformation=true)
 getHostName ()

Защищенные статические члены

static decodeResponse ($response)
static sendRequest (array $payload)
static getLicenseKey ()
static getSystemInformation ()
static getAdditionalInformation ()
static getServerPort ()
static getDomainName ()

Защищенные данные

 $response = array()
 $checkingToken = ""
 $protocolVersion = 2

Подробное описание

Class CSecurityCloudMonitorRequest

Начиная с
12.5.0

См. определение в файле cloud_monitor_request.php строка 13

Конструктор(ы)

◆ __construct()

__construct ( $action,
$protocolVersion,
$token = "" )

См. определение в файле cloud_monitor_request.php строка 26

Методы

◆ checkStatus()

checkStatus ( $status)
protected
Аргументы
string$status
Возвращает
bool

См. определение в файле cloud_monitor_request.php строка 133

◆ decodeResponse()

decodeResponse ( $response)
staticprotected
Аргументы
string$response
Возвращает
array

См. определение в файле cloud_monitor_request.php строка 172

◆ getAdditionalInformation()

getAdditionalInformation ( )
staticprotected

Return additional information, such as P&P or LDAP server information

Начиная с
14.5.4
Возвращает
array

См. определение в файле cloud_monitor_request.php строка 234

◆ getCheckingToken()

getCheckingToken ( )
Возвращает
string

См. определение в файле cloud_monitor_request.php строка 50

◆ getDomainName()

getDomainName ( )
staticprotected

Return current domain name (in puny code for cyrillic domain)

Возвращает
string

См. определение в файле cloud_monitor_request.php строка 268

◆ getHostName()

getHostName ( )
protected

Return host name for site checking

Возвращает
string

См. определение в файле cloud_monitor_request.php строка 243

◆ getLicenseKey()

getLicenseKey ( )
staticprotected

Return License key, your Captain Obvious

Возвращает
string

См. определение в файле cloud_monitor_request.php строка 206

◆ getPayload()

getPayload ( $action = "check",
$collectInformation = true )
protected

Generate payload for request to Bitrix

Аргументы
string$action- "check" or "receive_results"
bool$collectInformation
Возвращает
string

См. определение в файле cloud_monitor_request.php строка 144

◆ getServerPort()

getServerPort ( )
staticprotected

Return current server port, except 80 and 443

Возвращает
int|bool

См. определение в файле cloud_monitor_request.php строка 256

◆ getSystemInformation()

getSystemInformation ( )
staticprotected

Return system information, such as php version

Возвращает
array

См. определение в файле cloud_monitor_request.php строка 223

◆ getValue()

getValue ( $key)
Аргументы
string$key
Возвращает
string

См. определение в файле cloud_monitor_request.php строка 117

◆ isError()

isError ( )
Возвращает
bool

См. определение в файле cloud_monitor_request.php строка 100

◆ isFatalError()

isFatalError ( )
Возвращает
bool

См. определение в файле cloud_monitor_request.php строка 92

◆ isOk()

isOk ( )
Возвращает
bool

См. определение в файле cloud_monitor_request.php строка 84

◆ isSuccess()

isSuccess ( )
Возвращает
bool

См. определение в файле cloud_monitor_request.php строка 108

◆ receiveData()

receiveData ( $action)

Make a request to the Bitrix server and returns the result

Аргументы
array$action
Возвращает
array|bool

См. определение в файле cloud_monitor_request.php строка 60

◆ sendRequest()

sendRequest ( array $payload)
staticprotected

Send request to Bitrix (check o receive)

Аргументы
array$payload
Возвращает
array|bool

См. определение в файле cloud_monitor_request.php строка 184

◆ setCheckingToken()

setCheckingToken ( $checkingToken)
Аргументы
string$checkingToken
Возвращает
$this

См. определение в файле cloud_monitor_request.php строка 40

Поля

◆ $checkingToken

$checkingToken = ""
protected

См. определение в файле cloud_monitor_request.php строка 23

◆ $protocolVersion

$protocolVersion = 2
protected

См. определение в файле cloud_monitor_request.php строка 24

◆ $response

$response = array()
protected

См. определение в файле cloud_monitor_request.php строка 22

◆ BITRIX_CHECKER_URL_PATH

const BITRIX_CHECKER_URL_PATH = "/bitrix/site_checker.php"

См. определение в файле cloud_monitor_request.php строка 15

◆ REMOTE_STATUS_ERROR

const REMOTE_STATUS_ERROR = "error"

См. определение в файле cloud_monitor_request.php строка 17

◆ REMOTE_STATUS_FATAL_ERROR

const REMOTE_STATUS_FATAL_ERROR = "fatal_error"

См. определение в файле cloud_monitor_request.php строка 18

◆ REMOTE_STATUS_OK

const REMOTE_STATUS_OK = "ok"

См. определение в файле cloud_monitor_request.php строка 16

◆ TIMEOUT

const TIMEOUT = 10

См. определение в файле cloud_monitor_request.php строка 19


Объявления и описания членов класса находятся в файле: