/**
* Case statues
* @var array
- * @static
*/
static $caseStatus = array();
/**
* Redaction rules
* @var array
- * @static
*/
static $redactionRule;
/**
* Case type
* @var array
- * @static
*/
static $caseType = array();
/**
* Encounter Medium
* @var array
- * @static
*/
static $encounterMedium = array();
/**
* Activity type
* @var array
- * @static
*/
static $activityTypeList = array();
* @param null $condition
* @param bool $fresh
*
- * @return array - array reference of all case statues
- * @static
+ * @return array
+ * array reference of all case statues
*/
public static function caseStatus($column = 'label', $onlyActive = TRUE, $condition = NULL, $fresh = FALSE) {
$cacheKey = "{$column}_" . (int) $onlyActive;
*
* @param null $filter
*
- * @return array - array reference of all redaction rules
- * @static
+ * @return array
+ * array reference of all redaction rules
*/
-
public static function redactionRule($filter = NULL) {
// if ( ! self::$redactionRule ) {
self::$redactionRule = array();
* @param string $column
* @param bool $onlyActive
*
- * @return array - array reference of all case type
- * @static
+ * @return array
+ * array reference of all case type
*/
public static function caseType($column = 'title', $onlyActive = TRUE) {
if ($onlyActive) {
* @param string $column
* @param bool $onlyActive
*
- * @return array - array reference of all Encounter Medium.
- * @static
+ * @return array
+ * array reference of all Encounter Medium.
*/
public static function encounterMedium($column = 'label', $onlyActive = TRUE) {
$cacheKey = "{$column}_" . (int) $onlyActive;
}
/**
- * Get all Activty types for the CiviCase component
+ * Get all Activity types for the CiviCase component
*
* The static array activityType is returned
*
* @param bool $indexName
* True return activity name in array.
- * key else activity id as array key.
+ * key else activity id as array key.
*
* @param bool $all
*
- * @static
*
- * @return array - array reference of all activity types.
+ * @return array
+ * array reference of all activity types.
*/
public static function &caseActivityType($indexName = TRUE, $all = FALSE) {
$cache = (int) $indexName . '_' . (int) $all;
* Flush given pseudoconstant so it can be reread from db
* next time it's requested.
*
- * @static
*
* @param bool|string $name pseudoconstant to be flushed
*/