Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Files | Namespaces | Classes | Variables
workshopallocation_scheduled

Files

file  cron_task.php
 A schedule task for scheduled allocation cron.
 
file  events.php
 Defines event handlers.
 
file  lib.php
 Scheduled allocator that internally executes the random allocation later.
 
file  observer.php
 Event observers for workshopallocation_scheduled.
 
file  provider.php
 Provides the class workshopallocation_scheduled::privacy::provider.
 
file  settings_form.php
 Scheduled allocator's settings.
 
file  tasks.php
 Definition of scheduled allocation tasks.
 
file  version.php
 Scheduled allocator that internally executes the random one.
 

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 = 2020060900
 
 $tasks
 
$plugin component = 'workshopallocation_scheduled'
 
$plugin dependencies
 
$plugin maturity = MATURITY_STABLE
 
$plugin version = 2020061500
 

Detailed Description

Variable Documentation

◆ $observers

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

◆ $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' => 2020060900,
)