Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
A bulk operation for the manual enrolment plugin to edit selected users. More...
Public Member Functions | |
get_form ($defaultaction=null, $defaultcustomdata=null) | |
Returns a enrol_bulk_enrolment_operation extension form to be used in collecting required information for this operation to be processed. More... | |
get_identifier () | |
Returns the identifier for this bulk operation. More... | |
get_title () | |
Returns the title to display for this bulk operation. More... | |
process (course_enrolment_manager $manager, array $users, stdClass $properties) | |
Processes the bulk operation request for the given userids with the provided properties. More... | |
Protected Attributes | |
course_enrolment_manager | $manager |
The course enrolment manager. | |
enrol_plugin | $plugin |
The enrolment plugin to which this operation belongs. | |
A bulk operation for the manual enrolment plugin to edit selected users.
enrol_manual_editselectedusers_operation::get_form | ( | $defaultaction = null , |
|
$defaultcustomdata = null |
|||
) |
Returns a enrol_bulk_enrolment_operation extension form to be used in collecting required information for this operation to be processed.
string | moodle_url | null | $defaultaction | |
mixed | $defaultcustomdata |
enrol_manual_editselectedusers_form |
Reimplemented from enrol_bulk_enrolment_operation.
enrol_manual_editselectedusers_operation::get_identifier | ( | ) |
Returns the identifier for this bulk operation.
This is the key used when the plugin returns an array containing all of the bulk operations it supports.
Reimplemented from enrol_bulk_enrolment_operation.
enrol_manual_editselectedusers_operation::get_title | ( | ) |
Returns the title to display for this bulk operation.
string |
Reimplemented from enrol_bulk_enrolment_operation.
enrol_manual_editselectedusers_operation::process | ( | course_enrolment_manager | $manager, |
array | $users, | ||
stdClass | $properties | ||
) |
Processes the bulk operation request for the given userids with the provided properties.
course_enrolment_manager | $manager | |
array | $userids | |
stdClass | $properties | The data returned by the form. |
Reimplemented from enrol_bulk_enrolment_operation.