Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Class for workshopallocation_scheduled observers. More...
Static Public Member Functions | |
static | workshop_viewed ($event) |
Triggered when the '\mod_workshop\event\course_module_viewed' event is triggered. More... | |
Class for workshopallocation_scheduled observers.
|
static |
Triggered when the '\mod_workshop\event\course_module_viewed' event is triggered.
This does the same job as workshopallocation_scheduled_cron() but for the single workshop. The idea is that we do not need to wait for cron to execute. Displaying the workshop main view.php can trigger the scheduled allocation, too.
mod_workshop\event\course_module_viewed | $event |
bool |