mirror of
https://github.com/moodle/moodle.git
synced 2025-02-01 13:28:17 +01:00
MDL-32300 quiz reports: proper frankenstyle prefixes on class names.
This commit is contained in:
parent
9ad535c550
commit
d42b8ac2f3
@ -33,7 +33,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class quiz_report_overview_table extends quiz_attempt_report_table {
|
||||
class quiz_overview_table extends quiz_attempt_report_table {
|
||||
|
||||
protected $regradedqs = array();
|
||||
|
||||
|
@ -128,7 +128,7 @@ class quiz_overview_report extends quiz_attempt_report {
|
||||
// Load the required questions.
|
||||
$questions = quiz_report_get_significant_questions($quiz);
|
||||
|
||||
$table = new quiz_report_overview_table($quiz, $this->context, $qmsubselect,
|
||||
$table = new quiz_overview_table($quiz, $this->context, $qmsubselect,
|
||||
$qmfilter, $attemptsmode, $groupstudents, $students, $detailedmarks,
|
||||
$questions, $includecheckboxes, $reporturl, $displayoptions);
|
||||
$filename = quiz_report_download_filename(get_string('overviewfilename', 'quiz_overview'),
|
||||
|
@ -145,7 +145,7 @@ class quiz_responses_report extends quiz_attempt_report {
|
||||
$displaycourseshortname = format_string($COURSE->shortname, true,
|
||||
array('context' => $displaycoursecontext));
|
||||
|
||||
$table = new quiz_report_responses_table($quiz, $this->context, $qmsubselect,
|
||||
$table = new quiz_responses_table($quiz, $this->context, $qmsubselect,
|
||||
$qmfilter, $attemptsmode, $groupstudents, $students, $questions,
|
||||
$includecheckboxes, $reporturl, $displayoptions);
|
||||
$filename = quiz_report_download_filename(get_string('responsesfilename', 'quiz_responses'),
|
||||
|
@ -33,7 +33,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @copyright 2008 Jean-Michel Vedrine
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class quiz_report_responses_table extends quiz_attempt_report_table {
|
||||
class quiz_responses_table extends quiz_attempt_report_table {
|
||||
|
||||
public function __construct($quiz, $context, $qmsubselect, $qmfilter,
|
||||
$attemptsmode, $groupstudents, $students,
|
||||
|
@ -112,7 +112,7 @@ class quiz_statistics_report extends quiz_default_report {
|
||||
}
|
||||
|
||||
// Set up the main table.
|
||||
$this->table = new quiz_report_statistics_table();
|
||||
$this->table = new quiz_statistics_table();
|
||||
if ($everything) {
|
||||
$report = get_string('completestatsfilename', 'quiz_statistics');
|
||||
} else {
|
||||
@ -364,7 +364,7 @@ class quiz_statistics_report extends quiz_default_report {
|
||||
return;
|
||||
}
|
||||
|
||||
$qtable = new quiz_report_statistics_question_table($question->id);
|
||||
$qtable = new quiz_statistics_question_table($question->id);
|
||||
$exportclass = $this->table->export_class_instance();
|
||||
$qtable->export_class_instance($exportclass);
|
||||
if (!$this->table->is_downloading()) {
|
||||
|
@ -40,7 +40,7 @@ require_once($CFG->libdir . '/tablelib.php');
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class quiz_report_statistics_question_table extends flexible_table {
|
||||
class quiz_statistics_question_table extends flexible_table {
|
||||
/** @var object this question with a _stats field. */
|
||||
protected $questiondata;
|
||||
|
||||
|
@ -36,7 +36,7 @@ require_once($CFG->libdir.'/tablelib.php');
|
||||
* @copyright 2008 Jamie Pratt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class quiz_report_statistics_table extends flexible_table {
|
||||
class quiz_statistics_table extends flexible_table {
|
||||
/** @var object the quiz settings. */
|
||||
protected $quiz;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user