Moodle APIs 4.0
Moodle 4.0.11 (Build: 20231009)
|
Class profile_field_checkbox. More...
Public Member Functions | |
display_data () | |
Display the data for this field. | |
edit_field_add ($mform) | |
Add elements for editing the profile field value. | |
get_field_properties () | |
Return the field type and null properties. | |
Class profile_field_checkbox.
profile_field_checkbox::display_data | ( | ) |
Display the data for this field.
string | HTML. |
profile_field_checkbox::edit_field_add | ( | $mform | ) |
Add elements for editing the profile field value.
moodleform | $mform |
profile_field_checkbox::get_field_properties | ( | ) |
Return the field type and null properties.
This will be used for validating the data submitted by a user.
array | the param type and null property |