Function __global->points_get_transactions

Definitions

sources/points3.php

  • Get the point transactions a member has had.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$type ID_TEXT required parameter N/A N/A The type of transactions we are looking for
$member_id_of MEMBER required parameter N/A N/A Who we are looking at transactions for
$member_id_viewing MEMBER required parameter N/A N/A Who we are looking at transactions using the account of
$max integer required parameter N/A N/A Maximum number of records to return
$start integer 0 N/A N/A The starting record number
$sortable SHORT_TEXT Blank (empty string) N/A N/A Fields by which we want to order (blank: no ordering)
$sort_order ID_TEXT DESC N/A N/A Direction of ordering to use
$status ?integer Null N/A N/A Filter by the given ledger status (null: do not filter)
$skip_locked boolean False N/A N/A Whether to skip locked records
$skip_low_impact boolean True N/A N/A Whether to skip low-impact records (like forum posts)
$after_time ?TIME Null N/A N/A Only return transactions after this time (null: do not filter by time)

Return

  • Duple of total rows in the database and an array of rows
  • Type: array
  • Set: N/A
  • Range: N/A