Function __global->points_get_transactions_screen

Definitions

sources/points3.php

  • Show the point transactions a member has had in a table.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$type ID_TEXT No No required parameter sender recipient credit debit all N/A The type of transactions we are looking for
$member_id_of MEMBER No No required parameter N/A N/A Who we are looking at transactions for
$member_id_viewing MEMBER No No required parameter N/A N/A Who we are looking at transactions using the account of
$include_sender boolean No No True N/A N/A Whether to include the "Sender" column on the table
$include_recipient boolean No No True N/A N/A Whether to include the "Recipient" column on the table
$skip_low_impact boolean No No True N/A N/A Whether to skip low-impact records (like forum posts)

Returns

  • The UI
  • Type: Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Show the point transactions a member has had in a table.
 *
 * @param  ID_TEXT $type The type of transactions we are looking for
 * @set sender recipient credit debit all
 * @param  MEMBER $member_id_of Who we are looking at transactions for
 * @param  MEMBER $member_id_viewing Who we are looking at transactions using the account of
 * @param  boolean $include_sender Whether to include the "Sender" column on the table
 * @param  boolean $include_recipient Whether to include the "Recipient" column on the table
 * @param  boolean $skip_low_impact Whether to skip low-impact records (like forum posts)
 * @return Tempcode The UI
 */

function points_get_transactions_screen(string $type, int $member_id_of, int $member_id_viewing, bool $include_sender = true, bool $include_recipient = true, bool $skip_low_impact = true) : object