Function __global->render_member_box
Definitions
sources/cns_members2.php
- Get a member display box.
- 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 | Member ID |
$preview | boolean | False | N/A | N/A | Whether only to show 'preview' details |
$show_avatar | boolean | True | N/A | N/A | Whether to show the avatar |
$extra_fields | array | [] | N/A | N/A | Map of extra fields to show |
$give_context | boolean | True | N/A | N/A | Whether to include context (i.e. say WHAT this is, not just show the actual content) |
$guid | ID_TEXT | Blank (empty string) | N/A | N/A | Overridden GUID to send to templates (blank: none) |
Return
- The member box
- Type: Tempcode
- Set: N/A
- Range: N/A