Function __global->points_dispatch_notification

Definitions

sources/points2.php

  • Dispatch a points transaction notification to staff and optionally to the members involved.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$id AUTO_LINK required parameter N/A N/A The ID of the points ledger record pertaining to this notification
$sending_member MEMBER required parameter N/A N/A The member sending points
$receiving_member MEMBER required parameter N/A N/A The member receiving points
$reason SHORT_TEXT required parameter N/A N/A The reason for this transaction
$actual_points integer required parameter N/A N/A The actual number of regular points transacted
$actual_gift_points integer required parameter N/A N/A The actual number of gift points transacted
$anonymous BINARY 0 N/A N/A Whether the sender should be kept hidden
$send_member_notifications boolean True N/A N/A Also send the notification to the members involved in this transaction
$is_refund boolean False N/A N/A Whether the transaction was a refund