com.megaphonetech.deleterel.../deleterelationshipperm.php

136 lines
3.8 KiB
PHP
Raw Normal View History

2018-06-28 17:36:41 +00:00
<?php
require_once 'deleterelationshipperm.civix.php';
use CRM_Deleterelationshipperm_ExtensionUtil as E;
/**
* Implements hook_civicrm_config().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_config
*/
function deleterelationshipperm_civicrm_config(&$config) {
_deleterelationshipperm_civix_civicrm_config($config);
}
/**
* Implements hook_civicrm_xmlMenu().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_xmlMenu
*/
function deleterelationshipperm_civicrm_xmlMenu(&$files) {
_deleterelationshipperm_civix_civicrm_xmlMenu($files);
}
/**
* Implements hook_civicrm_install().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_install
*/
function deleterelationshipperm_civicrm_install() {
_deleterelationshipperm_civix_civicrm_install();
}
/**
* Implements hook_civicrm_postInstall().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_postInstall
*/
function deleterelationshipperm_civicrm_postInstall() {
_deleterelationshipperm_civix_civicrm_postInstall();
}
/**
* Implements hook_civicrm_uninstall().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_uninstall
*/
function deleterelationshipperm_civicrm_uninstall() {
_deleterelationshipperm_civix_civicrm_uninstall();
}
/**
* Implements hook_civicrm_enable().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_enable
*/
function deleterelationshipperm_civicrm_enable() {
_deleterelationshipperm_civix_civicrm_enable();
}
/**
* Implements hook_civicrm_disable().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_disable
*/
function deleterelationshipperm_civicrm_disable() {
_deleterelationshipperm_civix_civicrm_disable();
}
/**
* Implements hook_civicrm_upgrade().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_upgrade
*/
function deleterelationshipperm_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
return _deleterelationshipperm_civix_civicrm_upgrade($op, $queue);
}
/**
* Implements hook_civicrm_managed().
*
* Generate a list of entities to create/deactivate/delete when this module
* is installed, disabled, uninstalled.
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_managed
*/
function deleterelationshipperm_civicrm_managed(&$entities) {
_deleterelationshipperm_civix_civicrm_managed($entities);
}
/**
* Implements hook_civicrm_caseTypes().
*
* Generate a list of case-types.
*
* Note: This hook only runs in CiviCRM 4.4+.
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_caseTypes
*/
function deleterelationshipperm_civicrm_caseTypes(&$caseTypes) {
_deleterelationshipperm_civix_civicrm_caseTypes($caseTypes);
}
/**
* Implements hook_civicrm_angularModules().
*
* Generate a list of Angular modules.
*
* Note: This hook only runs in CiviCRM 4.5+. It may
* use features only available in v4.6+.
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_angularModules
*/
function deleterelationshipperm_civicrm_angularModules(&$angularModules) {
_deleterelationshipperm_civix_civicrm_angularModules($angularModules);
}
/**
* Implements hook_civicrm_alterSettingsFolders().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_alterSettingsFolders
*/
function deleterelationshipperm_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) {
_deleterelationshipperm_civix_civicrm_alterSettingsFolders($metaDataFolders);
}
/**
* Implements hook_civicrm_entityTypes().
*
* Declare entity types provided by this module.
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_entityTypes
*/
function deleterelationshipperm_civicrm_entityTypes(&$entityTypes) {
_deleterelationshipperm_civix_civicrm_entityTypes($entityTypes);
}