Function __global->points_profile

Definitions

sources/points3.php

  • The UI for a points profile.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$member_id_of MEMBER No No required parameter N/A N/A The ID of the member who is being viewed
$member_id_viewing ?MEMBER No No required parameter N/A N/A The ID of the member who is doing the viewing (null: current member)

Returns

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

Preview

Code (PHP)

/**
 * The UI for a points profile.
 *
 * @param  MEMBER $member_id_of The ID of the member who is being viewed
 * @param  ?MEMBER $member_id_viewing The ID of the member who is doing the viewing (null: current member)
 * @return Tempcode The UI
 */

function points_profile(int $member_id_of, ?int $member_id_viewing) : object