abstract class CRM_Utils_Check_Component

Properties

array $checksConfig

Methods

array
getChecksConfig()

Get the configured status checks.

setChecksConfig(array $checksConfig)

No description

bool
isEnabled()

Should these checks be run?

array
checkAll()

Run all checks in this class.

bool
isDisabled(string $method)

Is the specified check disabled.

bool
fileExists(string $url, float|bool $timeoutOverride = FALSE)

Check if file exists on given URL.

Details

at line 50
array getChecksConfig()

Get the configured status checks.

Return Value

array

Exceptions

API_Exception
UnauthorizedException

at line 63
setChecksConfig(array $checksConfig)

Parameters

array $checksConfig

at line 72
bool isEnabled()

Should these checks be run?

Return Value

bool

at line 85
array checkAll()

Run all checks in this class.

Return Value

array [CRM_Utils_Check_Message]

Exceptions

API_Exception
UnauthorizedException

at line 106
bool isDisabled(string $method)

Is the specified check disabled.

Parameters

string $method

Return Value

bool

Exceptions

API_Exception
UnauthorizedException

at line 132
bool fileExists(string $url, float|bool $timeoutOverride = FALSE)

Check if file exists on given URL.

Parameters

string $url
float|bool $timeoutOverride

Return Value

bool

Exceptions

GuzzleException