Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
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 = 2024041600 | |
$plugin | component = 'profilefield_social' |
$plugin | version = 2024042200 |
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. |