From 229d8e18cf5a72c72aedd7e411a6c1d474efd6a1 Mon Sep 17 00:00:00 2001 From: Seamus Lee <seamuslee001@gmail.com> Date: Sat, 24 Mar 2018 08:52:39 +1100 Subject: [PATCH] Include Survey in the list of pre and post entities and alpha sort the post entities like the pre entities --- docs/hooks/hook_civicrm_post.md | 1 + docs/hooks/hook_civicrm_pre.md | 29 +++++++++++++++-------------- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/docs/hooks/hook_civicrm_post.md b/docs/hooks/hook_civicrm_post.md index a6a4be16..4c468f2c 100644 --- a/docs/hooks/hook_civicrm_post.md +++ b/docs/hooks/hook_civicrm_post.md @@ -67,6 +67,7 @@ hook_civicrm_post($op, $objectName, $objectId, &$objectRef) expressed an interest to perform an action when a profile is created/edited)* - 'Relationship' + - 'Survey' (from 5.1.x) - 'Tag' - '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 diff --git a/docs/hooks/hook_civicrm_pre.md b/docs/hooks/hook_civicrm_pre.md index 62f715d6..d3237626 100644 --- a/docs/hooks/hook_civicrm_pre.md +++ b/docs/hooks/hook_civicrm_pre.md @@ -38,32 +38,33 @@ changing between the old and new data. objects only) - $objectName - can have the following values: + - 'Activity' + - 'Campaign' (from 4.6) + - 'Contribution' + - 'ContributionRecur' + - 'CustomGroup' + - 'EntityTag' (from 4.7.16) + - 'Event' - 'Individual' - 'Household' - - 'Organization' - 'Group' - 'GroupContact' - - 'Relationship' - - 'Activity' - - 'Contribution' - - 'Profile' (while this is not really an object, people have - expressed an interest to perform an action when a profile is - created/edited) - 'Membership' - 'MembershipPayment' - 'MessageTemplate' - - 'Event' + - 'Organization' - 'Participant' - 'ParticipantPayment' + - 'Pledge' + - 'PledgePayment' + - 'Profile' (while this is not really an object, people have + expressed an interest to perform an action when a profile is + created/edited) + - 'Relationship' + - '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) - - PledgePayment - - ContributionRecur - - Pledge - - CustomGroup - - 'Campaign' (from 4.6) - - 'EntityTag' (from 4.7.16) ** -- GitLab