Documentation

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
link
https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_post
throws
CRM_Core_Exception

Find and cancel any pending participant records.

contributioncancelactions_cancel_related_pending_participant_records(int $contributionID) : void
Parameters
$contributionID : int
Tags
throws
CRM_Core_Exception

        
On this page

Search results