Function __global->dispute_escrow

Definitions

sources/points_escrow.php

  • Mark an escrow as disputed, and send out notifications.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: void

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$id AUTO_LINK No No required parameter N/A N/A The ID of the escrow being disputed
$member_id MEMBER No No required parameter N/A N/A The member disputing the escrow (use guest for system)
$reason LONG_TEXT No No required parameter N/A N/A The reason / message for the dispute
$row ?array No No Null N/A N/A The database row for the escrow (null: query it)

Preview

Code (PHP)

/**
 * Mark an escrow as disputed, and send out notifications.
 *
 * @param  AUTO_LINK $id The ID of the escrow being disputed
 * @param  MEMBER $member_id The member disputing the escrow (use guest for system)
 * @param  LONG_TEXT $reason The reason / message for the dispute
 * @param  ?array $row The database row for the escrow (null: query it)
 */

function dispute_escrow(int $id, int $member_id, string $reason, ?array $row = null) : void