<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.6 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
* Utilities for manipulating/inspecting CRM_*_PseudoConstant classes
*/
class CRM_Utils_PseudoConstant {
- /*
- * CiviCRM pseudoconstant classes for wrapper functions
+ /**
+ * CiviCRM pseudoconstant classes for wrapper functions.
*/
private static $constantClasses = array(
'CRM_Core_PseudoConstant',
private static $constants = NULL;
/**
- * Get constant
+ * Get constant.
*
* Wrapper for Pseudoconstant methods. We use this so the calling function
* doesn't need to know which class the Pseudoconstant is on
* (some are on the Contribute_Pseudoconsant Class etc
*
- * @static
*
* @param $constant
*
}
/**
- * Flush constant
+ * Flush constant.
*
* Wrapper for Pseudoconstant methods. We use this so the calling function
* doesn't need to know which class the Pseudoconstant is on
* (some are on the Contribute_Pseudoconsant Class etc
*
- * @static
*
* @param $constant
*
}
/**
- * Determine where a constant lives
+ * Determine where a constant lives.
*
* If there's a full, preloaded map, use it. Otherwise, use search
* class space.
}
CRM_Core_PseudoConstant::flush();
}
+
}