1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CSecurityCloudMonitorTest
Граф наследования:CSecurityCloudMonitorTest:
CSecurityBaseTest

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

 __construct ()
 checkRequirements ($params=array())
 check (array $params=array())
Открытые члены унаследованные от CSecurityBaseTest
 getName ()
 getInternalName ()

Поля данных

const DEFAULT_RECEIVE_RESULTS_TIME = 15
const MAX_CHECKING_REQUEST_REPEAT_COUNT = 5
const MAX_RESULTS_REQUEST_REPEAT_COUNT = 50
Поля данных унаследованные от CSecurityBaseTest
const STATUS_FAILED = "failed"
const STATUS_PASSED = "passed"

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

 getResult ()
 receiveResults ()
 isCheckRequestNotSended ()
 doCheckRequest ()
 setCheckingToken ($token)
 getCheckingToken ()
 setTimeOut ($timeOut)
 setCheckingResult (array $result)
 stopChecking ($message='')
 getTimeout ()
Защищенные члены унаследованные от CSecurityBaseTest
 initializeParams (array $params=array())
 isRunOnWin ()
 getParam ($name, $defaultValue="")
 isDebug ()
 getDetailErrors ()
 addDetailError ($title, $critical, $detail, $recommendation="", $additionalInfo="")
 addUnformattedDetailError ($baseMessageKey, $critical, $additionalInfo="")

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

static formatResults (array $results)
Защищенные статические члены унаследованные от CSecurityBaseTest
static getFilePerm ($path)
static isWorldWritable ($path)
static isWorldReadable ($path)
static isWorldAccessible ($path)
static getDetailText ($baseMessageKey, array $placeholders=array())
static getRecommendationText ($baseMessageKey, array $placeholders=array())
static getTitleText ($baseMessageKey, array $placeholders=array())
static formatDetailError ($baseMessageKey, $critical, $additionalInfo="")
static removeDocumentRoot ($path)

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

 $internalName = 'CloudMonitor'
 $sessionData = null
 $checkingResults = array()
 $protocolVersion = 2
Защищенные данные унаследованные от CSecurityBaseTest
 $internalName = "BaseTest"
 $isDebug = false
 $params = array()
 $tests = array()
 $detailErrors = array()

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

Class CSecurityCloudMonitorTest

Начиная с
12.5.0

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

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

◆ __construct()

__construct ( )

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

Методы

◆ check()

check ( array $params = array())

Run test and return results

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

Переопределяет метод предка CSecurityBaseTest.

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

◆ checkRequirements()

checkRequirements ( $params = array())

Check test requirements (e.g. max_execution_time)

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

Переопределяет метод предка CSecurityBaseTest.

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

◆ doCheckRequest()

doCheckRequest ( )
protected

Try to start checking (send special request to Bitrix)

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

◆ formatResults()

formatResults ( array $results)
staticprotected

Format test results for checking output

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

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

◆ getCheckingToken()

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

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

◆ getResult()

getResult ( )
protected

Return checking results with default values (if it not present before)

Возвращает
array

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

◆ getTimeout()

getTimeout ( )
protected
Возвращает
int

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

◆ isCheckRequestNotSended()

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

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

◆ receiveResults()

receiveResults ( )
protected

Try to receive checking results from Bitrix

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

◆ setCheckingResult()

setCheckingResult ( array $result)
protected
Аргументы
array$result

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

◆ setCheckingToken()

setCheckingToken ( $token)
protected
Аргументы
string$token

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

◆ setTimeOut()

setTimeOut ( $timeOut)
protected
Аргументы
int$timeOut

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

◆ stopChecking()

stopChecking ( $message = '')
protected
Аргументы
string$message

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

Поля

◆ $checkingResults

$checkingResults = array()
protected

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

◆ $internalName

$internalName = 'CloudMonitor'
protected

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

◆ $protocolVersion

$protocolVersion = 2
protected

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

◆ $sessionData

$sessionData = null
protected

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

◆ DEFAULT_RECEIVE_RESULTS_TIME

const DEFAULT_RECEIVE_RESULTS_TIME = 15

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

◆ MAX_CHECKING_REQUEST_REPEAT_COUNT

const MAX_CHECKING_REQUEST_REPEAT_COUNT = 5

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

◆ MAX_RESULTS_REQUEST_REPEAT_COUNT

const MAX_RESULTS_REQUEST_REPEAT_COUNT = 50

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


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