Merge pull request #3966 from eileenmcnaughton/CRM-15168-all-functions
[civicrm-core.git] / CRM / Utils / Constant.php
index 0be6daee1ce8f8820f61786992cca7f2eb48b37b..ce9310ddd5cefc06dfb5ba3ab8c5bfb141a1b198 100644 (file)
  +--------------------------------------------------------------------+
 */
 
+/**
+ * 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) {