MDL-32322 quiz reports: fix up PHP doc comments.
This commit is contained in:
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* Base class for quiz report plugins.
|
||||
*
|
||||
* @package mod
|
||||
* @subpackage quiz
|
||||
* @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package mod_quiz
|
||||
* @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
@@ -39,8 +38,8 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* to itself - all these will also be globally available. You must
|
||||
* pass "id=$cm->id" or q=$quiz->id", and "mode=reportname".
|
||||
*
|
||||
* @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
abstract class quiz_default_report {
|
||||
const NO_GROUPS_ALLOWED = -2;
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
/**
|
||||
* Capability definitions for the quiz manual grading report.
|
||||
*
|
||||
* @package quiz_grading
|
||||
* @copyright 2010 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_grading
|
||||
* @copyright 2010 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* This file defines the setting form for the quiz grading report.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage grading
|
||||
* @copyright 2010 Tim Hunt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_grading
|
||||
* @copyright 2010 Tim Hunt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
@@ -32,8 +31,8 @@ require_once($CFG->libdir . '/formslib.php');
|
||||
/**
|
||||
* Quiz grading report settings form.
|
||||
*
|
||||
* @copyright 2010 Tim Hunt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @copyright 2010 Tim Hunt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class quiz_grading_settings_form extends moodleform {
|
||||
protected $includeauto;
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* Strings for component 'quiz_grading', language 'en', branch 'MOODLE_20_STABLE'
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage grading
|
||||
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_grading
|
||||
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$string['alldoneredirecting'] = 'All selected attempts have been graded. Returning to the list of questions.';
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* This file defines the quiz manual grading report class.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage grading
|
||||
* @copyright 2006 Gustav Delius
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_grading
|
||||
* @copyright 2006 Gustav Delius
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
@@ -36,8 +35,8 @@ require_once($CFG->dirroot . '/mod/quiz/report/grading/gradingsettings_form.php'
|
||||
* - List question that might need manual grading (or optionally all questions).
|
||||
* - Provide an efficient UI to grade all attempts at a particular question.
|
||||
*
|
||||
* @copyright 2006 Gustav Delius
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @copyright 2006 Gustav Delius
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class quiz_grading_report extends quiz_default_report {
|
||||
const DEFAULT_PAGE_SIZE = 5;
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* Quiz grading report version information.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage grading
|
||||
* @copyright 2010 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_grading
|
||||
* @copyright 2010 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* Quiz overview report upgrade script.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage overview
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_overview
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* Strings for component 'quiz_overview', language 'en', branch 'MOODLE_20_STABLE'
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage overview
|
||||
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_overview
|
||||
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$string['allattempts'] = 'Show all attempts';
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* This file defines the quiz grades table.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage overview
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_overview
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
@@ -32,8 +31,8 @@ require_once($CFG->dirroot . '/mod/quiz/report/attemptsreport_table.php');
|
||||
/**
|
||||
* This is a table subclass for displaying the quiz grades report.
|
||||
*
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class quiz_overview_table extends quiz_attempt_report_table {
|
||||
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* This file renders the quiz overview graph.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage overview
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_overview
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* This file defines the setting form for the quiz overview report.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage overview
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_overview
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
@@ -32,8 +31,8 @@ require_once($CFG->libdir . '/formslib.php');
|
||||
/**
|
||||
* Quiz overview report settings form.
|
||||
*
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class quiz_overview_settings_form extends moodleform {
|
||||
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* This file defines the quiz overview report class.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage overview
|
||||
* @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_overview
|
||||
* @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
@@ -34,8 +33,8 @@ require_once($CFG->dirroot . '/mod/quiz/report/overview/overview_table.php');
|
||||
/**
|
||||
* Quiz report subclass for the overview (grades) report.
|
||||
*
|
||||
* @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class quiz_overview_report extends quiz_attempt_report {
|
||||
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* Quiz overview report version information.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage overview
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_overview
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* Helper functions for the quiz reports.
|
||||
*
|
||||
* @package mod
|
||||
* @subpackage quiz
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package mod_quiz
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
|
||||
@@ -17,13 +17,11 @@
|
||||
/**
|
||||
* Strings for component 'quiz_responses', language 'en', branch 'MOODLE_20_STABLE'
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage responses
|
||||
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_responses
|
||||
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
$string['cannotloadoptions'] = 'Could not load question options';
|
||||
$string['include'] = 'Include';
|
||||
$string['pagesize'] = 'Page size';
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* This file defines the quiz responses report class.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage responses
|
||||
* @copyright 2006 Jean-Michel Vedrine
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_responses
|
||||
* @copyright 2006 Jean-Michel Vedrine
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
@@ -42,8 +41,8 @@ require_once($CFG->dirroot . '/mod/quiz/report/responses/responses_table.php');
|
||||
* Like the overview report, there are options for showing students with/without
|
||||
* attempts, and for deleting selected attempts.
|
||||
*
|
||||
* @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @copyright 1999 onwards Martin Dougiamas and others {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class quiz_responses_report extends quiz_attempt_report {
|
||||
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* This file defines the quiz responses report class.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage responses
|
||||
* @copyright 2008 Jean-Michel Vedrine
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_responses
|
||||
* @copyright 2008 Jean-Michel Vedrine
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
@@ -32,8 +31,8 @@ require_once($CFG->dirroot . '/mod/quiz/report/attemptsreport_table.php');
|
||||
/**
|
||||
* This is a table subclass for displaying the quiz responses report.
|
||||
*
|
||||
* @copyright 2008 Jean-Michel Vedrine
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @copyright 2008 Jean-Michel Vedrine
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class quiz_responses_table extends quiz_attempt_report_table {
|
||||
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* This file defines the setting form for the quiz responses report.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage responses
|
||||
* @copyright 2008 Jean-Michel Vedrine
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_responses
|
||||
* @copyright 2008 Jean-Michel Vedrine
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
@@ -32,8 +31,8 @@ require_once($CFG->libdir . '/formslib.php');
|
||||
/**
|
||||
* Quiz responses report settings form.
|
||||
*
|
||||
* @copyright 2008 Jean-Michel Vedrine
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @copyright 2008 Jean-Michel Vedrine
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class quiz_responses_settings_form extends moodleform {
|
||||
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* Quiz responses report version information.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage responses
|
||||
* @copyright 2011 Tim Hunt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_responses
|
||||
* @copyright 2011 Tim Hunt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* Unit tests for (some of) mod/quiz/report/reportlib.php
|
||||
*
|
||||
* @package mod
|
||||
* @subpackage quiz
|
||||
* @copyright 2008 Jamie Pratt [email protected]
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
|
||||
* @package mod_quiz
|
||||
* @copyright 2008 Jamie Pratt [email protected]
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
|
||||
*/
|
||||
|
||||
|
||||
@@ -34,8 +33,8 @@ require_once($CFG->dirroot . '/mod/quiz/report/reportlib.php'); // Include the c
|
||||
/**
|
||||
* This class contains the test cases for the functions in reportlib.php.
|
||||
*
|
||||
* @copyright 2008 Jamie Pratt [email protected]
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
|
||||
* @copyright 2008 Jamie Pratt [email protected]
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
|
||||
*/
|
||||
class mod_quiz_reportlib_test extends UnitTestCase {
|
||||
public static $includecoverage = array('mod/quiz/report/reportlib.php');
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
/**
|
||||
* Capability definitions for the quiz statistics report.
|
||||
*
|
||||
* @package quiz_statistics
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_statistics
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
@@ -16,10 +16,9 @@
|
||||
|
||||
/**
|
||||
* Post-install script for the quiz statistics report.
|
||||
* @package quiz
|
||||
* @subpackage statistics
|
||||
* @copyright 2010 Petr Skoda (http://skodak.org)
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_statistics
|
||||
* @copyright 2010 Petr Skoda (http://skodak.org)
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* Post-install script for the quiz statistics report.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage statistics
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_statistics
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
|
||||
@@ -17,13 +17,11 @@
|
||||
/**
|
||||
* Strings for component 'quiz_statistics', language 'en', branch 'MOODLE_20_STABLE'
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage statistics
|
||||
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_statistics
|
||||
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
$string['actualresponse'] = 'Actual response';
|
||||
$string['allattempts'] = 'all attempts';
|
||||
$string['allattemptsavg'] = 'Average grade of all attempts';
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* Standard plugin entry points of the quiz statistics report.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage statistics
|
||||
* @copyright 2011 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_statistics
|
||||
* @copyright 2011 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* Quiz statistics report calculations class.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage statistics
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_statistics
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
@@ -30,8 +29,8 @@ defined('MOODLE_INTERNAL') || die();
|
||||
/**
|
||||
* This class has methods to compute the question statistics from the raw data.
|
||||
*
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class quiz_statistics_question_stats {
|
||||
public $questions;
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* Quiz statistics report class.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage statistics
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_statistics
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
@@ -38,8 +37,8 @@ require_once($CFG->dirroot . '/mod/quiz/report/statistics/responseanalysis.php')
|
||||
* a quiz, compared to the whole quiz. It also provides a drill-down to more
|
||||
* detailed information about each question.
|
||||
*
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class quiz_statistics_report extends quiz_default_report {
|
||||
/** @var integer Time after which statistics are automatically recomputed. */
|
||||
|
||||
@@ -18,10 +18,9 @@
|
||||
* This file contains the code to analyse all the responses to a particular
|
||||
* question.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage statistics
|
||||
* @copyright 2010 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_statistics
|
||||
* @copyright 2010 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
@@ -32,8 +31,8 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* This class can store and compute the analysis of the responses to a particular
|
||||
* question.
|
||||
*
|
||||
* @copyright 2010 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @copyright 2010 The Open University
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class quiz_statistics_response_analyser {
|
||||
/** @var object the data from the database that defines the question. */
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* Unit tests for (some of) mod/quiz/report/statistics/qstats.php.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage statistics
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_statistics
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
@@ -52,8 +51,8 @@ class testable_quiz_statistics_question_stats extends quiz_statistics_question_s
|
||||
/**
|
||||
* Unit tests for (some of) quiz_statistics_question_stats.
|
||||
*
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class quiz_statistics_question_stats_test extends UnitTestCase {
|
||||
public static $includecoverage = array('mod/quiz/report/reportlib.php');
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* Quiz statistics settings form definition.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage statistics
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_statistics
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
@@ -32,8 +31,8 @@ require_once($CFG->libdir . '/formslib.php');
|
||||
/**
|
||||
* This is the settings form for the quiz statistics report.
|
||||
*
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class quiz_statistics_settings_form extends moodleform {
|
||||
protected function definition() {
|
||||
|
||||
@@ -23,10 +23,9 @@
|
||||
* It plots a bar graph showing certain question statistics plotted against
|
||||
* question number.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage statistics
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_statistics
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* Quiz statistics report, table for showing statistics about a particular question.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage statistics
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_statistics
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
@@ -37,8 +36,8 @@ require_once($CFG->libdir . '/tablelib.php');
|
||||
* The responses may be grouped, either by subpart of the question, or by the
|
||||
* answer they match.
|
||||
*
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class quiz_statistics_question_table extends flexible_table {
|
||||
/** @var object this question with a _stats field. */
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* Quiz statistics report, table for showing statistics of each question in the quiz.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage statistics
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_statistics
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
|
||||
@@ -33,8 +32,8 @@ require_once($CFG->libdir.'/tablelib.php');
|
||||
* This table has one row for each question in the quiz, with sub-rows when
|
||||
* random questions appear. There are columns for the various statistics.
|
||||
*
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class quiz_statistics_table extends flexible_table {
|
||||
/** @var object the quiz settings. */
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
/**
|
||||
* Quiz statistics report version information.
|
||||
*
|
||||
* @package quiz
|
||||
* @subpackage statistics
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package quiz_statistics
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
Reference in New Issue
Block a user