Moodle PHP Documentation 4.1
Moodle 4.1.11 (Build: 20240610) (c8c84b4af18)
profile_field_checkbox Class Reference
Inheritance diagram for profile_field_checkbox:

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.
 

Member Function Documentation

◆ display_data()

profile_field_checkbox::display_data ( )

Display the data for this field.

Return values
stringHTML.

◆ edit_field_add()

profile_field_checkbox::edit_field_add ( $mform)

Add elements for editing the profile field value.

Parameters
moodleform$mform

◆ get_field_properties()

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.

Return values
arraythe param type and null property
Since
Moodle 3.2

The documentation for this class was generated from the following file: