| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Implemenation of hook_civicrm_install |
| 5 | */ |
| 6 | function moduletest_civicrm_install() { |
| 7 | CRM_Extension_Manager_ModuleTest::incHookCount('moduletest', 'install'); |
| 8 | } |
| 9 | |
| 10 | /** |
| 11 | * Implementation of hook_civicrm_postInstall |
| 12 | */ |
| 13 | function moduletest_civicrm_postInstall() { |
| 14 | CRM_Extension_Manager_ModuleTest::incHookCount('moduletest', 'postInstall'); |
| 15 | } |
| 16 | |
| 17 | /** |
| 18 | * Implementation of hook_civicrm_uninstall |
| 19 | */ |
| 20 | function moduletest_civicrm_uninstall() { |
| 21 | CRM_Extension_Manager_ModuleTest::incHookCount('moduletest', 'uninstall'); |
| 22 | } |
| 23 | |
| 24 | /** |
| 25 | * Implemenation of hook_civicrm_enable |
| 26 | */ |
| 27 | function moduletest_civicrm_enable() { |
| 28 | CRM_Extension_Manager_ModuleTest::incHookCount('moduletest', 'enable'); |
| 29 | } |
| 30 | |
| 31 | /** |
| 32 | * Implemenation of hook_civicrm_disable |
| 33 | */ |
| 34 | function moduletest_civicrm_disable() { |
| 35 | CRM_Extension_Manager_ModuleTest::incHookCount('moduletest', 'disable'); |
| 36 | } |