Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Functions
statisticslib.php File Reference

Common functions for the quiz statistics report. More...

Functions

 quiz_statistics_attempts_sql ($quizid, core\dml\sql_join $groupstudentsjoins, $whichattempts=QUIZ_GRADEAVERAGE, $includeungraded=false)
 SQL to fetch relevant 'quiz_attempts' records. More...
 
 quiz_statistics_graph_get_new_colour ()
 This helper function returns a sequence of colours each time it is called. More...
 
 quiz_statistics_qubaids_condition ($quizid, core\dml\sql_join $groupstudentsjoins, $whichattempts=QUIZ_GRADEAVERAGE, $includeungraded=false)
 Return a } from the values returned by quiz_statistics_attempts_sql. More...
 

Detailed Description

Common functions for the quiz statistics report.

Author
James Pratt me@ja.nosp@m.miep.nosp@m..org
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later