Moodle APIs 3.11
Moodle 3.11.11+ (Build: 20221125)
Classes | Functions
definelib.php File Reference

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. More...
 
 profile_delete_field ($id)
 Deletes a profile field. More...
 
 profile_edit_category ($id, $redirect)
 Edit a category. More...
 
 profile_edit_field ($id, $datatype, $redirect)
 Edit a profile field. More...
 
 profile_list_categories ()
 Retrieve a list of categories and ids suitable for use in a form. More...
 
 profile_list_datatypes ()
 Retrieve a list of all the available data types. More...
 
 profile_move_category ($id, $move)
 Change the sort order of a category. More...
 
 profile_move_field ($id, $move)
 Change the sort order of a field. More...
 
 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. More...
 
 profile_save_field (stdClass $data, array $editors)
 Save updated field definition or create a new field. More...
 

Detailed Description

This file contains the profile_define_base class.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later