Moodle  2.2.1
http://www.collinsharper.com
workshop_manual_allocator Class Reference
Inheritance diagram for workshop_manual_allocator:
Collaboration diagram for workshop_manual_allocator:

Public Member Functions

 __construct (workshop $workshop)
 init ()
 ui ()

Static Public Member Functions

static delete_instance ($workshopid)

Data Fields

const MSG_ADDED = 1
const MSG_NOSUBMISSION = 2
const MSG_EXISTS = 3
const MSG_CONFIRM_DEL = 4
const MSG_DELETED = 5
const MSG_DELETE_ERROR = 6

Protected Attributes

 $workshop

Detailed Description

Allows users to allocate submissions for review manually

Definition at line 35 of file lib.php.


Constructor & Destructor Documentation

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

Definition at line 51 of file lib.php.


Member Function Documentation

static 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
Returns:
void

Implements workshop_allocator.

Definition at line 335 of file lib.php.

init ( )

Allocate submissions as requested by user

Implements workshop_allocator.

Definition at line 58 of file lib.php.

Here is the call graph for this function:

ui ( )

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

Implements workshop_allocator.

Definition at line 132 of file lib.php.

Here is the call graph for this function:


Field Documentation

$workshop [protected]

Definition at line 46 of file lib.php.

const MSG_ADDED = 1

constants that are used to pass status messages between init() and ui()

Definition at line 38 of file lib.php.

const MSG_CONFIRM_DEL = 4

Definition at line 41 of file lib.php.

const MSG_DELETE_ERROR = 6

Definition at line 43 of file lib.php.

const MSG_DELETED = 5

Definition at line 42 of file lib.php.

const MSG_EXISTS = 3

Definition at line 40 of file lib.php.

const MSG_NOSUBMISSION = 2

Definition at line 39 of file lib.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations