X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FConstant.php;h=ce9310ddd5cefc06dfb5ba3ab8c5bfb141a1b198;hb=3a234f292baf93aa8675cbd98c95df0deedd6254;hp=0be6daee1ce8f8820f61786992cca7f2eb48b37b;hpb=e100ac07be991fa09fc460871e4bd39ee45355f0;p=civicrm-core.git diff --git a/CRM/Utils/Constant.php b/CRM/Utils/Constant.php index 0be6daee1c..ce9310ddd5 100644 --- a/CRM/Utils/Constant.php +++ b/CRM/Utils/Constant.php @@ -25,13 +25,19 @@ +--------------------------------------------------------------------+ */ +/** + * Class CRM_Utils_Constant + */ class CRM_Utils_Constant { /** - * Determine the value of a constant. If undefined, return a default value + * Determine the value of a constant, if any. + * + * If the specified constant is undefined, return a default value. * * @param string $name * @param mixed $default + * (optional) * @return mixed */ public static function value($name, $default = NULL) {