class CRM_Utils_Constant

Class CRM_Utils_Constant

Methods

static mixed
value(string $name, mixed $default = NULL)

Determine the value of a constant, if any.

Details

at line 49
static mixed value(string $name, mixed $default = NULL)

Determine the value of a constant, if any.

If the specified constant is undefined, return a default value.

Parameters

string $name
mixed $default (optional)

Return Value

mixed