Function __global->member_personal_links_and_details
Definitions
sources/global4.php
- Get links and details related to a member.Note that this is:1) Available under all forum drivers2) Mainly about producing UI elements, not raw dataSee the cns_read_in_member_profile function for a CNS-specific raw-data retriever.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $member_id | MEMBER | No | No | required parameter | N/A | N/A | A member ID |
Returns
- A tuple: links (Tempcode), eCommerce links (Tempcode), details (Tempcode), number of unread inline personal posts or private topics
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get links and details related to a member.Note that this is:1) Available under all forum drivers2) Mainly about producing UI elements, not raw dataSee the cns_read_in_member_profile function for a CNS-specific raw-data retriever.
*
* @param MEMBER $member_id A member ID
* @return array A tuple: links (Tempcode), eCommerce links (Tempcode), details (Tempcode), number of unread inline personal posts or private topics
*/
function member_personal_links_and_details(int $member_id) : array
* Get links and details related to a member.Note that this is:1) Available under all forum drivers2) Mainly about producing UI elements, not raw dataSee the cns_read_in_member_profile function for a CNS-specific raw-data retriever.
*
* @param MEMBER $member_id A member ID
* @return array A tuple: links (Tempcode), eCommerce links (Tempcode), details (Tempcode), number of unread inline personal posts or private topics
*/
function member_personal_links_and_details(int $member_id) : array

