class CRM_Utils_Check_Component_PriceFields 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.

checkPriceFields()

Display warning about invalid priceFields

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 40
checkPriceFields()

Display warning about invalid priceFields