|
Moodle PHP Documentation 4.4
Moodle 4.4.9+ (Build: 20250711) (4ea86454947)
|
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. | |
| get_identifier () | |
| Returns the identifier for this bulk operation. | |
| get_title () | |
| Returns the title to display for this bulk operation. | |
| 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 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.