|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| edit_field_add (&$mform) | |
| is_user_object_data () | |
| edit_save_data_preprocess ($data, &$datarecord) | |
| edit_load_user_data (&$user) | |
| display_data () | |
Definition at line 3 of file field.class.php.
| display_data | ( | ) |
Display the data for this field
Reimplemented from profile_field_base.
Definition at line 38 of file field.class.php.

| edit_field_add | ( | &$ | mform | ) |
Abstract method: Adds the profile field to the moodle form class
| form | instance of the moodleform class |
Create the form field
Reimplemented from profile_field_base.
Definition at line 5 of file field.class.php.

| edit_load_user_data | ( | &$ | user | ) |
Loads a user object with data for this field ready for the edit profile form
| object | a user object |
Reimplemented from profile_field_base.
Definition at line 28 of file field.class.php.

| edit_save_data_preprocess | ( | $ | data, |
| &$ | datarecord | ||
| ) |
Hook for child classess to process the data before it gets saved in database
| mixed | |
| stdClass | The object that will be used to save the record |
Reimplemented from profile_field_base.
Definition at line 20 of file field.class.php.
Overwrite base class method, data in this field type is potentially too large to be included in the user object
Reimplemented from profile_field_base.
Definition at line 16 of file field.class.php.