Documentation

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)


        
On this page

Search results