fixed unit grade tests - missing grade types
[moodle.git] / lib / db / events.php
CommitLineData
ca4bcf58 1<?php // $Id$
2
3///////////////////////////////////////////////////////////////////////////
4// Defines core event handlers //
5///////////////////////////////////////////////////////////////////////////
6// //
7// NOTICE OF COPYRIGHT //
8// //
9// Moodle - Modular Object-Oriented Dynamic Learning Environment //
10// http://moodle.org //
11// //
12// Copyright (C) 1999 onwards Martin Dougiamas http://moodle.com //
13// //
14// This program is free software; you can redistribute it and/or modify //
15// it under the terms of the GNU General Public License as published by //
16// the Free Software Foundation; either version 2 of the License, or //
17// (at your option) any later version. //
18// //
19// This program is distributed in the hope that it will be useful, //
20// but WITHOUT ANY WARRANTY; without even the implied warranty of //
21// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
22// GNU General Public License for more details: //
23// //
24// http://www.gnu.org/copyleft/gpl.html //
25// //
26///////////////////////////////////////////////////////////////////////////
27
28
de420c11 29$handlers = array (
de420c11 30/*
31 * Grades created/modified outside of activities (import, gradebook overrides, etc.)
32 *
33 * required parameters (object or array):
612607bd 34 * idnumber - idnumber from grade_items table
de420c11 35 * userid - each grade must be associated with existing user
36 *
37 * optional params:
38 * gradevalue - raw grade value
39 * feedback - graders feedback
40 * feedbackformat - text format of the feedback
de420c11 41 */
612607bd 42 'grade_update_request' => array (
ca4bcf58 43 'handlerfile' => '/lib/gradelib.php',
44 'handlerfunction' => 'grade_handler',
45 'schedule' => 'instant'
46 )
47);
48
ca4bcf58 49?>