diff --git a/docs/hooks/hook_civicrm_post.md b/docs/hooks/hook_civicrm_post.md index 4c468f2cef2265fec9a240b18888828d81cfa44b..1593d9cc2adb6b9f64b6a6235e46cbc72160c46d 100644 --- a/docs/hooks/hook_civicrm_post.md +++ b/docs/hooks/hook_civicrm_post.md @@ -36,8 +36,11 @@ hook_civicrm_post($op, $objectName, $objectId, &$objectRef) - `$objectName` - can have the following values: - 'Activity' + - 'ActionLog' - 'Address' + - 'Batch' - 'Case' + - 'CaseType' - 'Campaign' (from 4.6) - 'Contribution' - 'ContributionRecur' @@ -47,26 +50,34 @@ hook_civicrm_post($op, $objectName, $objectId, &$objectRef) - 'Email' - 'Event' - 'EntityTag' - - 'Individual' - - 'IM' - - 'Household' - - 'OpenID' - - 'Organization' + - 'EntityBatch' - 'Grant' - 'Group' + - 'GroupNesting' - 'GroupContact' + - 'Household' + - 'Individual' + - 'IM' - 'LineItem' + - 'Mailing' + - 'MailingAB' - 'Membership' + - 'MembershipBlock' - 'MembershipPayment' + - 'OpenID' - 'Participant' - 'ParticipantPayment' - 'Phone' - 'Pledge' + - 'PledgeBlock' - 'PledgePayment' - 'Profile' *(while this is not really an object, people have expressed an interest to perform an action when a profile is created/edited)* + - 'RecurringEntity' - 'Relationship' + - 'SmsProvider' + - 'StatusPreference' - 'Survey' (from 5.1.x) - 'Tag' - 'UFMatch' *(when an object is linked to a CMS user record, at the diff --git a/docs/hooks/hook_civicrm_pre.md b/docs/hooks/hook_civicrm_pre.md index d3237626ceed9e2ad1f7169f1b3a4a81e240d467..48d8b1bac99cc70bbbd2e99c357d9f16fe10ce85 100644 --- a/docs/hooks/hook_civicrm_pre.md +++ b/docs/hooks/hook_civicrm_pre.md @@ -39,20 +39,39 @@ changing between the old and new data. - $objectName - can have the following values: - 'Activity' + - 'Address' + - 'Batch' - 'Campaign' (from 4.6) + - 'Case' + - 'CaseType' - 'Contribution' + - 'ContributionPage' - 'ContributionRecur' - 'CustomGroup' + - 'CustomField' + - 'Dashboard' + - 'Email' + - 'EntityBatch' - 'EntityTag' (from 4.7.16) - 'Event' + - 'FinancialAccount' + - 'FinancialItem' + - 'Event' - 'Individual' - 'Household' + - 'Grant' - 'Group' - 'GroupContact' + - 'LineItem' + - 'Mailing' + - 'MailingAB' + - 'MailingEventBounce' - 'Membership' + - 'MembershipBlock' - 'MembershipPayment' - 'MessageTemplate' - 'Organization' + - 'OpenID' - 'Participant' - 'ParticipantPayment' - 'Pledge' @@ -60,11 +79,16 @@ changing between the old and new data. - 'Profile' (while this is not really an object, people have expressed an interest to perform an action when a profile is created/edited) + - 'RecurringEntity' + - 'ReportInstance' - 'Relationship' + - 'SmsProvider' + - 'StatusPreference' - 'Survey' (from 5.1.x) - 'UFMatch' (when an object is linked to a CMS user record, at the request of GordonH. A UFMatch object is passed for both the pre and post hooks) + - 'Website' **