Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
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 = 2023100400
 
 $tasks
 
$plugin component = 'workshopallocation_scheduled'
 
$plugin dependencies
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2023100900
 

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' => 2023100400,
]