Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
workshopallocation_scheduled

Namespaces

namespace  workshopallocation_scheduled
  
 
namespace  workshopallocation_scheduled\privacy
  
 
namespace  workshopallocation_scheduled\task
  
 

Classes

class  workshop_scheduled_allocator
 Allocates the submissions randomly in a cronjob task. More...
 
class  workshop_scheduled_allocator_form
 Allocator settings form. More...
 
class  workshopallocation_scheduled\observer
 Class for workshopallocation_scheduled observers. More...
 
class  workshopallocation_scheduled\privacy\provider
 Privacy API implementation for the Scheduled allocation method. More...
 
class  workshopallocation_scheduled\task\cron_task
 The main schedule task for scheduled allocation cron. More...
 

Variables

 $observers
 
 $plugin = 2023041800
 
 $tasks
 
$plugin component = 'workshopallocation_scheduled'
 
$plugin dependencies
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2023042400
 

Detailed Description

Variable Documentation

◆ $observers

$observers
Initial value:
= array(
array(
'eventname' => '\mod_workshop\event\course_module_viewed',
'callback' => '\workshopallocation_scheduled\observer::workshop_viewed',
),
array(
'eventname' => '\mod_workshop\event\phase_automatically_switched',
'callback' => '\workshopallocation_scheduled\observer::phase_automatically_switched'
)
)

◆ $tasks

$tasks
Initial value:
= [
[
'classname' => '\workshopallocation_scheduled\task\cron_task',
'blocking' => 0,
'minute' => '*',
'hour' => '*',
'day' => '*',
'month' => '*',
'dayofweek' => '*'
]
]

◆ dependencies

$plugin dependencies
Initial value:
= array(
'workshopallocation_random' => 2023041800,
)