class CRM_Utils_Check_Component_Source extends CRM_Utils_Check_Component

Properties

array $checksConfig from CRM_Utils_Check_Component

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.

getRemovedFiles()

No description

array
findOrphanedFiles()

No description

array
checkOrphans()

No description

Details

array getChecksConfig()

Get the configured status checks.

Return Value

array

Exceptions

API_Exception
UnauthorizedException

setChecksConfig(array $checksConfig)

Parameters

array $checksConfig

bool isEnabled()

Should these checks be run?

Return Value

bool

array checkAll()

Run all checks in this class.

Return Value

array [CRM_Utils_Check_Message]

Exceptions

API_Exception
UnauthorizedException

bool isDisabled(string $method)

Is the specified check disabled.

Parameters

string $method

Return Value

bool

Exceptions

API_Exception
UnauthorizedException

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

at line 35
getRemovedFiles()

at line 83
array findOrphanedFiles()

Return Value

array Each item is an array with keys: - name: string, an abstract name - path: string, a full file path Files are returned in deletable order (ie children before parents).

at line 120
array checkOrphans()

Return Value

array