Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
A bulk operation for the manual 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. | |
get_identifier () | |
Returns the title to display for this bulk operation. | |
get_title () | |
Returns the identifier for this bulk operation. | |
moodle_database | process (course_enrolment_manager $manager, array $users, stdClass $properties) |
Processes the bulk operation request for the given userids with the provided properties. | |
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 delete selected users enrolments.
enrol_manual_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_manual_editselectedusers_form |
Reimplemented from enrol_bulk_enrolment_operation.
enrol_manual_deleteselectedusers_operation::get_identifier | ( | ) |
Returns the title to display for this bulk operation.
string |
Reimplemented from enrol_bulk_enrolment_operation.
enrol_manual_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.
moodle_database enrol_manual_deleteselectedusers_operation::process | ( | course_enrolment_manager | $manager, |
array | $users, | ||
stdClass | $properties ) |
Processes the bulk operation request for the given userids with the provided properties.
$DB
course_enrolment_manager | $manager | |
array | $userids | |
stdClass | $properties | The data returned by the form. |
Reimplemented from enrol_bulk_enrolment_operation.