Corrections
[civicrm-lp.git] / lp.php
1 <?php
2
3 require_once 'lp.civix.php';
4
5 /**
6 * Implements hook_civicrm_config().
7 *
8 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_config
9 */
10 function lp_civicrm_config(&$config) {
11 _lp_civix_civicrm_config($config);
12 }
13
14 /**
15 * Implements hook_civicrm_xmlMenu().
16 *
17 * @param $files array(string)
18 *
19 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_xmlMenu
20 */
21 function lp_civicrm_xmlMenu(&$files) {
22 _lp_civix_civicrm_xmlMenu($files);
23 }
24
25 /**
26 * Implements hook_civicrm_install().
27 *
28 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_install
29 */
30 function lp_civicrm_install() {
31 _lp_civix_civicrm_install();
32 }
33
34 /**
35 * Implements hook_civicrm_uninstall().
36 *
37 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_uninstall
38 */
39 function lp_civicrm_uninstall() {
40 _lp_civix_civicrm_uninstall();
41 }
42
43 /**
44 * Implements hook_civicrm_enable().
45 *
46 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_enable
47 */
48 function lp_civicrm_enable() {
49 _lp_civix_civicrm_enable();
50 }
51
52 /**
53 * Implements hook_civicrm_disable().
54 *
55 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_disable
56 */
57 function lp_civicrm_disable() {
58 _lp_civix_civicrm_disable();
59 }
60
61 /**
62 * Implements hook_civicrm_upgrade().
63 *
64 * @param $op string, the type of operation being performed; 'check' or 'enqueue'
65 * @param $queue CRM_Queue_Queue, (for 'enqueue') the modifiable list of pending up upgrade tasks
66 *
67 * @return mixed
68 * Based on op. for 'check', returns array(boolean) (TRUE if upgrades are pending)
69 * for 'enqueue', returns void
70 *
71 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_upgrade
72 */
73 function lp_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
74 return _lp_civix_civicrm_upgrade($op, $queue);
75 }
76
77 /**
78 * Implements hook_civicrm_managed().
79 *
80 * Generate a list of entities to create/deactivate/delete when this module
81 * is installed, disabled, uninstalled.
82 *
83 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_managed
84 */
85 function lp_civicrm_managed(&$entities) {
86 _lp_civix_civicrm_managed($entities);
87 }
88
89 /**
90 * Implements hook_civicrm_caseTypes().
91 *
92 * Generate a list of case-types
93 *
94 * Note: This hook only runs in CiviCRM 4.4+.
95 *
96 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_caseTypes
97 */
98 function lp_civicrm_caseTypes(&$caseTypes) {
99 _lp_civix_civicrm_caseTypes($caseTypes);
100 }
101
102 /**
103 * Implements hook_civicrm_angularModules().
104 *
105 * Generate a list of Angular modules.
106 *
107 * Note: This hook only runs in CiviCRM 4.5+. It may
108 * use features only available in v4.6+.
109 *
110 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_caseTypes
111 */
112 function lp_civicrm_angularModules(&$angularModules) {
113 _lp_civix_civicrm_angularModules($angularModules);
114 }
115
116 /**
117 * Implements hook_civicrm_alterSettingsFolders().
118 *
119 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_alterSettingsFolders
120 */
121 function lp_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) {
122 _lp_civix_civicrm_alterSettingsFolders($metaDataFolders);
123 }
124
125 /**
126 * Functions below this ship commented out. Uncomment as required.
127 *
128
129 /**
130 * Implements hook_civicrm_preProcess().
131 *
132 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_preProcess
133 *
134 function lp_civicrm_preProcess($formName, &$form) {
135
136 }
137
138 */