| Moodle APIs 4.3
    Moodle 4.3.6 (Build: 20240812) | 
| Topics | |
| external | |
| webservice | |
| Namespaces | |
| namespace | enrol_manual\privacy | 
| Privacy Subsystem implementation for enrol_manual. | |
| namespace | enrol_manual\task | 
| The send expiry notifications task. | |
| Classes | |
| class | enrol_manual\privacy\provider | 
| Privacy Subsystem for enrol_manual implementing null_provider.  More... | |
| class | enrol_manual\task\send_expiry_notifications | 
| The send expiry notifications task.  More... | |
| class | enrol_manual\task\sync_enrolments | 
| Syncing enrolments task.  More... | |
| class | enrol_manual_current_participant | 
| Enrolled users.  More... | |
| class | enrol_manual_deleteselectedusers_form | 
| The form to confirm the intention to bulk delete users enrolments.  More... | |
| class | enrol_manual_deleteselectedusers_operation | 
| A bulk operation for the manual enrolment plugin to delete selected users enrolments.  More... | |
| class | enrol_manual_editselectedusers_form | 
| The form to collect required information when bulk editing users enrolments.  More... | |
| class | enrol_manual_editselectedusers_operation | 
| A bulk operation for the manual enrolment plugin to edit selected users.  More... | |
| class | enrol_manual_enrol_users_form | 
| class | enrol_manual_plugin | 
| class | enrol_manual_potential_participant | 
| Enrol candidates.  More... | |
| Functions | |
| enrol_manual_get_potential_cohorts ($context, $enrolid, $search='', $page=0, $perpage=25, $addedenrollment=0) | |
| Gets an array of the cohorts that can be enrolled in this course. | |
| enrol_manual_migrate_plugin_enrolments ($enrol) | |
| Migrates all enrolments of the given plugin to enrol_manual plugin, this is used for example during plugin uninstallation. | |
| enrol_manual_output_fragment_enrol_users_form ($args) | |
| Serve the manual enrol users form as a fragment. | |
| xmldb_enrol_manual_install () | |
| xmldb_enrol_manual_upgrade ($oldversion) | |
| Variables | |
| $capabilities | |
| $messageproviders | |
| Defines message providers for manual enrolments. | |
| $plugin = 2023100400 | |
| $tasks | |
| $plugin | component = 'enrol_manual' | 
| $plugin | version = 2023100900 | 
| enrol_manual_get_potential_cohorts | ( | $context, | |
| $enrolid, | |||
| $search = '', | |||
| $page = 0, | |||
| $perpage = 25, | |||
| $addedenrollment = 0 ) | 
Gets an array of the cohorts that can be enrolled in this course.
| int | $enrolid | |
| string | $search | |
| int | $page | Defaults to 0 | 
| int | $perpage | Defaults to 25 | 
| int | $addedenrollment | 
| array | Array(totalcohorts => int, cohorts => array) | 
| enrol_manual_migrate_plugin_enrolments | ( | $enrol | ) | 
Migrates all enrolments of the given plugin to enrol_manual plugin, this is used for example during plugin uninstallation.
NOTE: this function does not trigger role and enrolment related events.
| string | $enrol | The enrolment method. | 
| enrol_manual_output_fragment_enrol_users_form | ( | $args | ) | 
Serve the manual enrol users form as a fragment.
| array | $args | List of named arguments for the fragment loader. | 
| string | 
| $messageproviders | 
Defines message providers for manual enrolments.
| $tasks |