commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-old / civicrm / tools / extensions / org.civicrm.angularex / angularex.php
1 <?php
2
3 require_once 'angularex.civix.php';
4
5 /**
6 * Implementation of hook_civicrm_config
7 *
8 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_config
9 * @param $config
10 */
11 function angularex_civicrm_config(&$config) {
12 _angularex_civix_civicrm_config($config);
13 }
14
15 /**
16 * Implementation of hook_civicrm_xmlMenu
17 *
18 * @param $files array(string)
19 *
20 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_xmlMenu
21 */
22 function angularex_civicrm_xmlMenu(&$files) {
23 _angularex_civix_civicrm_xmlMenu($files);
24 }
25
26 /**
27 * Implementation of hook_civicrm_install
28 *
29 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_install
30 */
31 function angularex_civicrm_install() {
32 return _angularex_civix_civicrm_install();
33 }
34
35 /**
36 * Implementation of hook_civicrm_uninstall
37 *
38 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_uninstall
39 */
40 function angularex_civicrm_uninstall() {
41 return _angularex_civix_civicrm_uninstall();
42 }
43
44 /**
45 * Implementation of hook_civicrm_enable
46 *
47 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_enable
48 */
49 function angularex_civicrm_enable() {
50 return _angularex_civix_civicrm_enable();
51 }
52
53 /**
54 * Implementation of hook_civicrm_disable
55 *
56 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_disable
57 */
58 function angularex_civicrm_disable() {
59 return _angularex_civix_civicrm_disable();
60 }
61
62 /**
63 * Implementation of hook_civicrm_upgrade
64 *
65 * @param $op string, the type of operation being performed; 'check' or 'enqueue'
66 * @param $queue CRM_Queue_Queue, (for 'enqueue') the modifiable list of pending up upgrade tasks
67 *
68 * @return mixed 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 angularex_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
74 return _angularex_civix_civicrm_upgrade($op, $queue);
75 }
76
77 /**
78 * Implementation of 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 * @param $entities
85 */
86 function angularex_civicrm_managed(&$entities) {
87 return _angularex_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 * @param $caseTypes
99 */
100 function angularex_civicrm_caseTypes(&$caseTypes) {
101 _angularex_civix_civicrm_caseTypes($caseTypes);
102 }
103
104 /**
105 * Implementation of hook_civicrm_alterSettingsFolders
106 *
107 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_alterSettingsFolders
108 * @param null $metaDataFolders
109 */
110 function angularex_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) {
111 _angularex_civix_civicrm_alterSettingsFolders($metaDataFolders);
112 }
113
114 /**
115 * @param $angularModule
116 */
117 function angularex_civicrm_angularModules(&$angularModule) {
118 $angularModule['example'] = array(
119 'ext' => 'org.civicrm.angularex',
120 'js' => array('js/*.js'),
121 'partials' => array('partials'),
122 );
123 }