Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
profile_field_social Class Reference

Class profile_field_social. More...

Inheritance diagram for profile_field_social:

Public Member Functions

 display_data ()
 Display the data for this field.
 
 edit_field_add ($mform)
 Adds elements for this field type to the edit form.
 
 get_field_properties ()
 Return the field type and null properties.
 
 set_field ($field)
 alter the fieldname to be fetched from the language file.
 

Detailed Description

Class profile_field_social.

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

Member Function Documentation

◆ display_data()

profile_field_social::display_data ( )

Display the data for this field.

Return values
string

◆ edit_field_add()

profile_field_social::edit_field_add ( $mform)

Adds elements for this field type to the edit form.

Parameters
moodleform$mform

◆ get_field_properties()

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

◆ set_field()

profile_field_social::set_field ( $field)

alter the fieldname to be fetched from the language file.

Parameters
stdClass$field

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