Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
|
This file contains the profile_define_base class. More...
Classes | |
class | profile_define_base |
Class profile_define_base. More... | |
Functions | |
profile_delete_category ($id) | |
Delete a profile category. | |
profile_delete_field ($id) | |
Deletes a profile field. | |
profile_edit_category ($id, $redirect) | |
Edit a category. | |
profile_edit_field ($id, $datatype, $redirect) | |
Edit a profile field. | |
profile_list_categories () | |
Retrieve a list of categories and ids suitable for use in a form. | |
profile_list_datatypes () | |
Retrieve a list of all the available data types. | |
profile_move_category ($id, $move) | |
Change the sort order of a category. | |
profile_move_field ($id, $move) | |
Change the sort order of a field. | |
profile_purge_user_fields_cache () | |
Purge the cache for the user profile fields. | |
profile_reorder_categories () | |
Reorder the profile categoriess starting at the category at the given startorder. | |
profile_reorder_fields () | |
Reorder the profile fields within a given category starting at the field at the given startorder. | |
profile_save_category (stdClass $data) | |
Create or update a profile category. | |
profile_save_field (stdClass $data, array $editors) | |
Save updated field definition or create a new field. | |
This file contains the profile_define_base class.