Merge pull request #4759 from totten/master-civimail-status
[civicrm-core.git] / CRM / Utils / PseudoConstant.php
index c333f5c8493130e84899ab7c601492420f126fdb..6c2dc9e883b56d6c268b1b730efabc5989e7603b 100644 (file)
@@ -54,6 +54,8 @@ class CRM_Utils_PseudoConstant {
    * @access public
    * @static
    *
+   * @param $constant
+   *
    * @return array - array reference of all relevant constant
    */
   public static function getConstant($constant) {
@@ -73,6 +75,8 @@ class CRM_Utils_PseudoConstant {
    * @access public
    * @static
    *
+   * @param $constant
+   *
    * @return array - array reference of all relevant constant
    */
   public static function flushConstant($constant) {
@@ -93,7 +97,9 @@ class CRM_Utils_PseudoConstant {
    * If there's a full, preloaded map, use it. Otherwise, use search
    * class space.
    *
-   * @param string $name constant-name
+   * @param $constant
+   *
+   * @internal param string $name constant-name
    * @return string|NULL class-name
    */
   public static function findConstantClass($constant) {
@@ -134,6 +140,8 @@ class CRM_Utils_PseudoConstant {
    *
    * This may be inefficient and should generally be avoided.
    *
+   * @param $class
+   *
    * @return array of string, constant names
    */
   public static function findConstantsByClass($class) {