Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
workshop_manual_allocator Class Reference

Allows users to allocate submissions for review manually. More...

Inheritance diagram for workshop_manual_allocator:
workshop_allocator

Public Member Functions

 __construct (workshop $workshop)
 
 init ()
 Allocate submissions as requested by user.
 
 ui ()
 Prints user interface - current allocation and a form to edit it.
 

Static Public Member Functions

static delete_instance ($workshopid)
 Delete all data related to a given workshop module instance.
 

Public Attributes

const MSG_ADDED = 1
 constants that are used to pass status messages between init() and ui()
 
const MSG_CONFIRM_DEL = 4
 
const MSG_DELETE_ERROR = 6
 
const MSG_DELETED = 5
 
const MSG_EXISTS = 3
 
const MSG_NOSUBMISSION = 2
 

Protected Attributes

workshop $workshop
 instance
 

Detailed Description

Allows users to allocate submissions for review manually.

Constructor & Destructor Documentation

◆ __construct()

workshop_manual_allocator::__construct ( workshop $workshop)
Parameters
workshop$workshopWorkshop API object

Member Function Documentation

◆ delete_instance()

static workshop_manual_allocator::delete_instance ( $workshopid)
static

Delete all data related to a given workshop module instance.

This plugin does not store any data.

See also
workshop_delete_instance()
Parameters
int$workshopidid of the workshop module instance being deleted
Return values
void

Implements workshop_allocator.

◆ init()

workshop_manual_allocator::init ( )

Allocate submissions as requested by user.

Return values
workshop_allocation_result

Implements workshop_allocator.

◆ ui()

workshop_manual_allocator::ui ( )

Prints user interface - current allocation and a form to edit it.

Implements workshop_allocator.


The documentation for this class was generated from the following file: