mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 19:36:41 +02:00
MDL-32322 quiz reports: defines -> class constants.
This commit is contained in:
parent
2639a68ad5
commit
5bf8a1695d
6 changed files with 31 additions and 27 deletions
|
@ -28,14 +28,6 @@ defined('MOODLE_INTERNAL') || die();
|
|||
require_once($CFG->dirroot . '/mod/quiz/lib.php');
|
||||
require_once($CFG->libdir . '/filelib.php');
|
||||
|
||||
define('QUIZ_REPORT_DEFAULT_PAGE_SIZE', 30);
|
||||
define('QUIZ_REPORT_DEFAULT_GRADING_PAGE_SIZE', 10);
|
||||
|
||||
define('QUIZ_REPORT_ATTEMPTS_ALL', 0);
|
||||
define('QUIZ_REPORT_ATTEMPTS_STUDENTS_WITH_NO', 1);
|
||||
define('QUIZ_REPORT_ATTEMPTS_STUDENTS_WITH', 2);
|
||||
define('QUIZ_REPORT_ATTEMPTS_ALL_STUDENTS', 3);
|
||||
|
||||
/**
|
||||
* Takes an array of objects and constructs a multidimensional array keyed by
|
||||
* the keys it finds on the object.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue