Navigation

Search

loadMemberData

Description

Loads data for the specified user IDs. Returns an array of all member IDs that data was loaded for, or false if nothing was loaded.

Syntax

mixed loadMemberData (mixed $users[, bool $is_name[, string $set]])



Parameter $users

Expected type: Mixed
Description: An array of user IDs or usernames

Allowed types for $users
Allowed values Description
Array of Integers An array of member IDs
Array An array of membernames



Parameter $is_name

Expected type: Boolean
Description: Whether or not $users contains usernames. Defaults to false.



Parameter $set

Expected type: Enumerated String
Description: Which data set should be loaded

Possible string values
Allowed values Description
'minimal' Just the basics
'normal' Normal user info
'profile' Profile - everything that would be loaded for normal plus all the profile settings



Return value

Expected type: Mixed
Description:

Possible types
Allowed values Description
Boolean false - data couldn't be loaded
Array of Integers An array of member IDs for which data has been loaded


Notes

  • Data is loaded into $user_profile global variable.
View all versions of this function