Merge pull request #4352 from colemanw/CRM-15450
[civicrm-core.git] / CRM / Utils / PseudoConstant.php
index 3cdeb9b71c01826661865a1177fd52d57f21dab4..6c2dc9e883b56d6c268b1b730efabc5989e7603b 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -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) {