Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
A bulk operation for the self enrolment plugin to delete selected users enrolments. 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 title to display for this bulk operation. More... | |
get_title () | |
Returns the identifier 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 self enrolment plugin to delete selected users enrolments.
enrol_self_deleteselectedusers_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_self_deleteselectedusers_form |
Reimplemented from enrol_bulk_enrolment_operation.
enrol_self_deleteselectedusers_operation::get_identifier | ( | ) |
Returns the title to display for this bulk operation.
string |
Reimplemented from enrol_bulk_enrolment_operation.
enrol_self_deleteselectedusers_operation::get_title | ( | ) |
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.
string |
Reimplemented from enrol_bulk_enrolment_operation.
enrol_self_deleteselectedusers_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 | $users | |
stdClass | $properties | The data returned by the form. |
Reimplemented from enrol_bulk_enrolment_operation.