Differences Between: [Versions 402 and 403]
(no description)
File Size: | 304 lines (12 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
edit_override_form:: (4 methods):
__construct()
definition()
display_user_name()
validation()
Class: edit_override_form - X-Ref
Form for editing quiz settings overrides.__construct(moodle_url $submiturl,cm_info $cm, stdClass $quiz, context_module $context,bool $groupmode, ?stdClass $override) X-Ref |
Constructor. param: moodle_url $submiturl the form action URL. param: cm_info $cm course module object. param: stdClass $quiz the quiz settings object. param: context_module $context the quiz context. param: bool $groupmode editing group override (true) or user override (false). param: stdClass|null $override the override being edited, if it already exists. |
definition() X-Ref |
No description |
display_user_name(stdClass $user, array $extrauserfields) X-Ref |
Get a user's name and identity ready to display. param: stdClass $user a user object. param: array $extrauserfields (identity fields in user table only from the user_fields API) return: string User's name, with extra info, for display. |
validation($data, $files) X-Ref |
No description |