|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
Namespaces | |
| namespace | profilefield_social |
| | |
| namespace | profilefield_social\privacy |
| | |
Classes | |
| class | profile_define_social |
| Class profile_define_social. More... | |
| class | profile_field_social |
| Class profile_field_social. More... | |
| class | profilefield_social\helper |
| helper class for social profile fields. More... | |
| class | profilefield_social\privacy\provider |
| Privacy class for requesting user data. More... | |
Functions | |
| user_profile_social_create_info_category () | |
| Create the default category for custom profile fields if it does not exist yet. | |
| user_profile_social_create_profilefield ($social) | |
| Create an new custom social profile field if it does not exist. | |
| user_profile_social_moveto_profilefield ($social) | |
| Called on upgrade to create new profile fields based on the old user table columns for icq, msn, aim, skype and url. | |
| user_profile_social_update_availability_structure (&$structure) | |
| Loop through the availability info and change all move standard profile fields for icq, skype, aim, yahoo, msn and url to be custom profile fields. | |
| user_profile_social_update_module_availability () | |
| Update the module availability configuration for all course modules. | |
Variables | |
| $plugin = 2024100100 | |
| $plugin | component = 'profilefield_social' |
| $plugin | version = 2024100700 |
| user_profile_social_create_info_category | ( | ) |
Create the default category for custom profile fields if it does not exist yet.
| int | Category ID for social user profile category. |
| user_profile_social_create_profilefield | ( | $social | ) |
Create an new custom social profile field if it does not exist.
| string | $social | Social profile field. |
| object | DB record or social profield field. |
| user_profile_social_moveto_profilefield | ( | $social | ) |
Called on upgrade to create new profile fields based on the old user table columns for icq, msn, aim, skype and url.
| string | $social | Social profile field. |
| user_profile_social_update_availability_structure | ( | & | $structure | ) |
Loop through the availability info and change all move standard profile fields for icq, skype, aim, yahoo, msn and url to be custom profile fields.
| mixed | $structure | The availability object. |