(no description)
File Size: | 183 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
profile_field_form:: (10 methods):
definition()
definition_after_data()
validation()
editors()
get_context_for_dynamic_submission()
check_access_for_dynamic_submission()
process_dynamic_submission()
set_data_for_dynamic_submission()
get_page_url_for_dynamic_submission()
get_field_record()
Class: profile_field_form - X-Ref
Class field_form used for profile fields.definition() X-Ref |
Define the form |
definition_after_data() X-Ref |
Alter definition based on existing or submitted data |
validation($data, $files) X-Ref |
Perform some moodle validation. param: array $data param: array $files return: array |
editors() X-Ref |
Returns the defined editors for the field. return: array |
get_context_for_dynamic_submission() X-Ref |
Returns context where this form is used return: context |
check_access_for_dynamic_submission() X-Ref |
Checks if current user has access to this form, otherwise throws exception |
process_dynamic_submission() X-Ref |
Process the form submission, used if form was submitted via AJAX |
set_data_for_dynamic_submission() X-Ref |
Load in existing data as form defaults |
get_page_url_for_dynamic_submission() X-Ref |
Returns url to set in $PAGE->set_url() when form is being rendered or submitted via AJAX return: moodle_url |
get_field_record() X-Ref |
Record for the field from the database (or generic record for a new field) return: false|mixed|\stdClass |