-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
saveProfileChanges
Description
This function is responsible for actually saving the profile changes.
Syntax
void saveProfileChanges (array &$profile_vars, array &$post_errors, int $memID)
Parameter &$profile_vars
Expected type: Array
Description: An array containing strings indicating which profile fields we want to save
Parameter &$post_errors
Expected type: Array
Description: An array containing keys indicating which error(s) have occurred, if any
Parameter $memID
Expected type: Integer
Description: The ID of the member whose profile is being edited
Notes
- Called by ModifyProfile2 to save changes to the profile
- Checks permissions to make sure you have permission to edit the profile
- Validates all the form data and categorizes it by section
- Calls the appropriate function to save the changes from each section
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.117 seconds with 13 queries.
- Forum Search