Function __global->points_url

Definitions

sources/points.php

  • Generate a proper URL to a member's points profile and optionally pre-populate fields for sending / modifying points.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: object

Parameters

Name Type Default Set Range Description
$member_id MEMBER required parameter N/A N/A The member to view the profile
$skip_keep boolean False N/A N/A Whether to skip actually putting on keep_ parameters (rarely will this skipping be desirable)
$send_amount ?integer Null N/A N/A The number of points to pre-populate in the send / modify form (null: leave blank)
$send_reason ?SHORT_TEXT Null N/A N/A The reason to pre-populate in the send / modify form (null: leave blank)
$trans_type ?ID_TEXT Null N/A N/A The type of transaction to pre-select (ignored for those without "Moderate points" privilege) (null: do not set a default)

Return

  • The URL to the member's points profile
  • Type: Tempcode
  • Set: N/A
  • Range: N/A