Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
The user_preference type. More...
Public Member Functions | |
__construct ($name, $summary='') | |
Constructor to create a new user_preference types. | |
get_name () | |
The name of the user preference. | |
get_privacy_fields () | |
A user preference encapsulates a single field and has no sub-fields. | |
get_summary () | |
A summary of what this user preference is used for. | |
Protected Attributes | |
The | $name |
name of this user preference. | |
A | $summary |
description of what this user preference means. | |
The user_preference type.
core_privacy\local\metadata\types\user_preference::__construct | ( | $name, | |
$summary = '' ) |
Constructor to create a new user_preference types.
string | $name | The name of the user preference. |
string | $summary | A description of what the preference is used for. |
core_privacy\local\metadata\types\user_preference::get_name | ( | ) |
The name of the user preference.
string |
Implements core_privacy\local\metadata\types\type.
core_privacy\local\metadata\types\user_preference::get_privacy_fields | ( | ) |
A user preference encapsulates a single field and has no sub-fields.
array |
Implements core_privacy\local\metadata\types\type.
core_privacy\local\metadata\types\user_preference::get_summary | ( | ) |
A summary of what this user preference is used for.
string |
Implements core_privacy\local\metadata\types\type.