*/
const COMPONENT_INFO_CLASS = 'Info';
- static $_contactSubTypes = NULL;
+ /**
+ * @var array
+ */
+ public static $_contactSubTypes = NULL;
/**
* @param bool $force
return $componentIDs;
}
-
/**
* @param bool $force
*
* @return CRM_Core_Component_Info[]
*/
- static public function &getEnabledComponents($force = FALSE) {
+ public static function &getEnabledComponents($force = FALSE) {
return self::_info($force);
}
- static public function flushEnabledComponents() {
+ public static function flushEnabledComponents() {
unset(Civi::$statics[__CLASS__]);
}
return self::$_contactSubTypes;
}
-
/**
* @param $subType
* @param $op