Function Forum_driver_none->get_custom_fields
Definitions
sources/forum/none.php
- Get Custom Profile Fields values for all 'cms_' prefixed keys.
- 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 | The member ID |
Returns
- A map of the Custom Profile Fields, key_suffix=>value (null: no fields)
- Type: ?array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get Custom Profile Fields values for all 'cms_' prefixed keys.
*
* @param MEMBER $member_id The member ID
* @return ?array A map of the Custom Profile Fields, key_suffix=>value (null: no fields)
*/
public function get_custom_fields(int $member_id) : ?array
* Get Custom Profile Fields values for all 'cms_' prefixed keys.
*
* @param MEMBER $member_id The member ID
* @return ?array A map of the Custom Profile Fields, key_suffix=>value (null: no fields)
*/
public function get_custom_fields(int $member_id) : ?array