Moodle PHP Documentation 4.1
Moodle 4.1.11 (Build: 20240610) (c8c84b4af18)
profile_field_text Class Reference

Class profile_field_text. More...

Inheritance diagram for profile_field_text:

Public Member Functions

 display_data ()
 Overwrite the base class to display the data for this field.
 
 edit_field_add ($mform)
 Add fields for editing a text profile field.
 
 get_field_properties ()
 Return the field type and null properties.
 

Detailed Description

Class profile_field_text.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ edit_field_add()

profile_field_text::edit_field_add ( $mform)

Add fields for editing a text profile field.

Parameters
moodleform$mform

◆ get_field_properties()

profile_field_text::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: