CRM_Utils_Constant
in package
Class CRM_Utils_Constant
Table of Contents
Methods
- value() : mixed
- Determine the value of a constant, if any.
Methods
value()
Determine the value of a constant, if any.
public
static value(string $name[, mixed $default = NULL ]) : mixed
If the specified constant is undefined, check for an environment variable, defaulting the passed in default value.
Parameters
- $name : string
- $default : mixed = NULL
-
(optional)