Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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 = 2024041600
 
 $tasks
 
$plugin component = 'workshopallocation_scheduled'
 
$plugin dependencies
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2024042200
 

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:
= [
'workshopallocation_random' => 2024041600,
]