benefits: Simplify Drupal user access.
[org.fsf.memberdashboard.git] / memberdashboard.php
1 <?php
2
3 require_once 'memberdashboard.civix.php';
4
5 define('MEMBERDASHBOARD_SETTINGS_GROUP', 'Member Dashboard Preferences');
6
7 /**
8 * Implementation of hook_civicrm_config
9 *
10 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_config
11 */
12 function memberdashboard_civicrm_config(&$config) {
13 _memberdashboard_civix_civicrm_config($config);
14 }
15
16 /**
17 * Implementation of hook_civicrm_xmlMenu
18 *
19 * @param $files array(string)
20 *
21 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_xmlMenu
22 */
23 function memberdashboard_civicrm_xmlMenu(&$files) {
24 _memberdashboard_civix_civicrm_xmlMenu($files);
25 }
26
27 /**
28 * Implementation of hook_civicrm_install
29 *
30 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_install
31 */
32 function memberdashboard_civicrm_install() {
33 _memberdashboard_civix_civicrm_install();
34 }
35
36 /**
37 * Implementation of hook_civicrm_uninstall
38 *
39 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_uninstall
40 */
41 function memberdashboard_civicrm_uninstall() {
42 _memberdashboard_civix_civicrm_uninstall();
43 }
44
45 /**
46 * Implementation of hook_civicrm_enable
47 *
48 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_enable
49 */
50 function memberdashboard_civicrm_enable() {
51 _memberdashboard_civix_civicrm_enable();
52 }
53
54 /**
55 * Implementation of hook_civicrm_disable
56 *
57 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_disable
58 */
59 function memberdashboard_civicrm_disable() {
60 _memberdashboard_civix_civicrm_disable();
61 }
62
63 /**
64 * Implementation of hook_civicrm_upgrade
65 *
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
68 *
69 * @return mixed based on op. for 'check', returns array(boolean) (TRUE if upgrades are pending)
70 * for 'enqueue', returns void
71 *
72 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_upgrade
73 */
74 function memberdashboard_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
75 return _memberdashboard_civix_civicrm_upgrade($op, $queue);
76 }
77
78 /**
79 * Implementation of hook_civicrm_managed
80 *
81 * Generate a list of entities to create/deactivate/delete when this module
82 * is installed, disabled, uninstalled.
83 *
84 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_managed
85 */
86 function memberdashboard_civicrm_managed(&$entities) {
87 _memberdashboard_civix_civicrm_managed($entities);
88 }
89
90 /**
91 * Implementation of hook_civicrm_caseTypes
92 *
93 * Generate a list of case-types
94 *
95 * Note: This hook only runs in CiviCRM 4.4+.
96 *
97 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_caseTypes
98 */
99 function memberdashboard_civicrm_caseTypes(&$caseTypes) {
100 _memberdashboard_civix_civicrm_caseTypes($caseTypes);
101 }
102
103 /**
104 * Implementation of hook_civicrm_alterSettingsFolders
105 *
106 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_alterSettingsFolders
107 */
108 function memberdashboard_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) {
109 _memberdashboard_civix_civicrm_alterSettingsFolders($metaDataFolders);
110 }