-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
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.
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.019 seconds with 13 queries.
- Forum Search