Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
editlib.php File Reference

Functions

 cancel_email_update ($userid)
 This file contains function used when editing a users profile and preferences.
 
 useredit_get_disabled_name_fields ($enabledadditionalusernames=null)
 Gets user name fields not enabled from the setting fullnamedisplay.
 
 useredit_get_enabled_name_fields ()
 Gets enabled (from fullnameformate setting) user name fields in appropriate order.
 
 useredit_get_required_name_fields ()
 Return required user name fields for forms.
 
 useredit_load_preferences (&$user, $reload=true)
 Loads the given users preferences into the given user object.
 
 useredit_setup_preference_page ($userid, $courseid)
 Performs the common access checks and page setup for all user preference pages.
 
 useredit_shared_definition (&$mform, $editoroptions, $filemanageroptions, $user)
 Powerful function that is used by edit and editadvanced to add common form elements/rules/etc.
 
 useredit_update_bounces ($user, $usernew)
 Updates the user email bounce + send counts when the user is edited.
 
 useredit_update_interests ($user, $interests)
 Updates a users interests.
 
 useredit_update_picture ()
 
 useredit_update_trackforums ($user, $usernew)
 Updates the forums a user is tracking when the user is edited.
 
 useredit_update_user_preference ($usernew)
 Updates the user preferences for the given user.