contributioncancelactions.php
Table of Contents
Functions
- contributioncancelactions_civicrm_post() : mixed
- Implements hook_civicrm_preProcess().
- contributioncancelactions_cancel_related_pending_participant_records() : void
- Find and cancel any pending participant records.
- contributioncancelactions_cancel_related_pending_memberships() : void
- Find and cancel any pending memberships.
Functions
contributioncancelactions_civicrm_post()
Implements hook_civicrm_preProcess().
contributioncancelactions_civicrm_post(mixed $op, mixed $objectName, mixed $objectId, mixed $objectRef) : mixed
This enacts the following
- find and cancel any related pending memberships
- (not yet implemented) find and cancel any related pending participant records
- (not yet implemented) find any related pledge payment records. Remove the contribution id.
Parameters
- $op : mixed
- $objectName : mixed
- $objectId : mixed
- $objectRef : mixed
Tags
contributioncancelactions_cancel_related_pending_participant_records()
Find and cancel any pending participant records.
contributioncancelactions_cancel_related_pending_participant_records(int $contributionID) : void
Parameters
- $contributionID : int
Tags
contributioncancelactions_cancel_related_pending_memberships()
Find and cancel any pending memberships.
contributioncancelactions_cancel_related_pending_memberships(int $contributionID) : void
Parameters
- $contributionID : int