Navigation

Search

setupProfileContext

Description

Sets up the appropriate $context information for the specified fields

Syntax

void setupProfileContext (array $fields)



Parameter $fields

Expected type: Array
Description: An array containing the names of one or more fields to display (names correspond to keys in the $profile_fields array)


Notes

  • Calls loadProfielFields to get the available fields
  • Only loads the specified fields and any linked fields
View all versions of this function