3 require_once 'memberdashboard.civix.php';
5 define('MEMBERDASHBOARD_SETTINGS_GROUP', 'Member Dashboard Preferences');
8 * Implementation of hook_civicrm_config
10 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_config
12 function memberdashboard_civicrm_config(&$config) {
13 _memberdashboard_civix_civicrm_config($config);
17 * Implementation of hook_civicrm_xmlMenu
19 * @param $files array(string)
21 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_xmlMenu
23 function memberdashboard_civicrm_xmlMenu(&$files) {
24 _memberdashboard_civix_civicrm_xmlMenu($files);
28 * Implementation of hook_civicrm_install
30 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_install
32 function memberdashboard_civicrm_install() {
33 _memberdashboard_civix_civicrm_install();
37 * Implementation of hook_civicrm_uninstall
39 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_uninstall
41 function memberdashboard_civicrm_uninstall() {
42 _memberdashboard_civix_civicrm_uninstall();
46 * Implementation of hook_civicrm_enable
48 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_enable
50 function memberdashboard_civicrm_enable() {
51 _memberdashboard_civix_civicrm_enable();
55 * Implementation of hook_civicrm_disable
57 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_disable
59 function memberdashboard_civicrm_disable() {
60 _memberdashboard_civix_civicrm_disable();
64 * Implementation of hook_civicrm_upgrade
66 * @param $op string, the type of operation being performed; 'check' or 'enqueue'
67 * @param $queue CRM_Queue_Queue, (for 'enqueue') the modifiable list of pending up upgrade tasks
69 * @return mixed based on op. for 'check', returns array(boolean) (TRUE if upgrades are pending)
70 * for 'enqueue', returns void
72 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_upgrade
74 function memberdashboard_civicrm_upgrade($op, CRM_Queue_Queue
$queue = NULL) {
75 return _memberdashboard_civix_civicrm_upgrade($op, $queue);
79 * Implementation of hook_civicrm_managed
81 * Generate a list of entities to create/deactivate/delete when this module
82 * is installed, disabled, uninstalled.
84 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_managed
86 function memberdashboard_civicrm_managed(&$entities) {
87 _memberdashboard_civix_civicrm_managed($entities);
91 * Implementation of hook_civicrm_caseTypes
93 * Generate a list of case-types
95 * Note: This hook only runs in CiviCRM 4.4+.
97 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_caseTypes
99 function memberdashboard_civicrm_caseTypes(&$caseTypes) {
100 _memberdashboard_civix_civicrm_caseTypes($caseTypes);
104 * Implementation of hook_civicrm_alterSettingsFolders
106 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_alterSettingsFolders
108 function memberdashboard_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) {
109 _memberdashboard_civix_civicrm_alterSettingsFolders($metaDataFolders);