Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
Namespaces | |
namespace | enrol_category\privacy |
| |
namespace | enrol_category\task |
| |
Classes | |
class | enrol_category\privacy\provider |
Privacy Subsystem for enrol_category implementing null_provider. More... | |
class | enrol_category\task\enrol_category_sync |
Syncing enrolments task. More... | |
class | enrol_category_observer |
Event handler for category enrolment plugin. More... | |
class | enrol_category_plugin |
category enrolment plugin implementation. More... | |
Functions | |
enrol_category_sync_course ($course) | |
Sync all category enrolments in one course. | |
enrol_category_sync_full (progress_trace $trace) | |
Synchronise courses in all categories. | |
xmldb_enrol_category_install () | |
Variables | |
$capabilities | |
$observers | |
$plugin = 2024041600 | |
$tasks | |
$plugin | component = 'enrol_category' |
$plugin | version = 2024042200 |
enrol_category_sync_course | ( | $course | ) |
Sync all category enrolments in one course.
stdClass | $course |
void |
enrol_category_sync_full | ( | progress_trace | $trace | ) |
Synchronise courses in all categories.
It gets out-of-sync if:
progress_trace | $trace |
int | exit code - 0 is ok, 1 means error, 2 if plugin disabled |
$capabilities |
$observers |
$tasks |