| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* singleton pattern and cache the instance in this variable
*
* @var object
- * @static
*/
static private $_singleton = NULL;
}
/**
- * Execute "checkAll"
+ * Execute "checkAll".
*
* @param array|NULL $messages list of CRM_Utils_Check_Message; or NULL if the default list should be fetched
*/
}
/**
- * Throw an exception if any of the checks fail
+ * Throw an exception if any of the checks fail.
*
* @param array|NULL $messages list of CRM_Utils_Check_Message; or NULL if the default list should be fetched
*
* We might even expose the results of these checks on the Wordpress
* plugin status page or the Drupal admin/reports/status path.
*
- * @return array of messages
- * @see Drupal's hook_requirements() -
- * https://api.drupal.org/api/drupal/modules%21system%21system.api.php/function/hook_requirements
+ * @return array
+ * Array of messages
+ * @link https://api.drupal.org/api/drupal/modules%21system%21system.api.php/function/hook_requirements
*/
public function checkAll() {
$checks = array();
case 'CiviCase':
$checks[] = new CRM_Utils_Check_Case(CRM_Case_XMLRepository::singleton(), CRM_Case_PseudoConstant::caseType('name'));
break;
+
default:
}
}