Bitrix API

StressLevel implements Errorable

Table of Contents

Interfaces

Errorable

Constants

TYPE_LIST  = ['green', 'yellow', 'red', 'unknown']

Methods

__construct()  : mixed
getErrorByCode()  : mixed
getErrors()  : array<string|int, Error>
Getting array of errors.
getStub()  : mixed
getTypeDescription()  : mixed
getTypeTextTitle()  : mixed
getValueDescription()  : mixed

Constants

TYPE_LIST

public mixed TYPE_LIST = ['green', 'yellow', 'red', 'unknown']

Methods

getErrorByCode()

public getErrorByCode(mixed $code) : mixed
Parameters
$code : mixed

getErrors()

Getting array of errors.

public getErrors() : array<string|int, Error>
Return values
array<string|int, Error>

getTypeDescription()

public static getTypeDescription([mixed $type = '' ][, mixed $value = 0 ]) : mixed
Parameters
$type : mixed = ''
$value : mixed = 0

getTypeTextTitle()

public static getTypeTextTitle([mixed $type = '' ][, mixed $value = 0 ]) : mixed
Parameters
$type : mixed = ''
$value : mixed = 0

getValueDescription()

public static getValueDescription([mixed $type = '' ][, mixed $value = 0 ]) : mixed
Parameters
$type : mixed = ''
$value : mixed = 0

        
On this page

Search results