MDL-32300 quiz reports: proper frankenstyle prefixes on class names.

This commit is contained in:
Tim Hunt 2011-11-17 18:34:07 +00:00 committed by Dan Poltawski
parent 4c8ec44828
commit 59ea81767e
7 changed files with 8 additions and 8 deletions

View File

@ -33,7 +33,7 @@ defined('MOODLE_INTERNAL') || die();
* @copyright 2008 Jamie Pratt * @copyright 2008 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @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(); protected $regradedqs = array();

View File

@ -128,7 +128,7 @@ class quiz_overview_report extends quiz_attempt_report {
// Load the required questions. // Load the required questions.
$questions = quiz_report_get_significant_questions($quiz); $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, $qmfilter, $attemptsmode, $groupstudents, $students, $detailedmarks,
$questions, $includecheckboxes, $reporturl, $displayoptions); $questions, $includecheckboxes, $reporturl, $displayoptions);
$filename = quiz_report_download_filename(get_string('overviewfilename', 'quiz_overview'), $filename = quiz_report_download_filename(get_string('overviewfilename', 'quiz_overview'),

View File

@ -145,7 +145,7 @@ class quiz_responses_report extends quiz_attempt_report {
$displaycourseshortname = format_string($COURSE->shortname, true, $displaycourseshortname = format_string($COURSE->shortname, true,
array('context' => $displaycoursecontext)); 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, $qmfilter, $attemptsmode, $groupstudents, $students, $questions,
$includecheckboxes, $reporturl, $displayoptions); $includecheckboxes, $reporturl, $displayoptions);
$filename = quiz_report_download_filename(get_string('responsesfilename', 'quiz_responses'), $filename = quiz_report_download_filename(get_string('responsesfilename', 'quiz_responses'),

View File

@ -33,7 +33,7 @@ defined('MOODLE_INTERNAL') || die();
* @copyright 2008 Jean-Michel Vedrine * @copyright 2008 Jean-Michel Vedrine
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @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, public function __construct($quiz, $context, $qmsubselect, $qmfilter,
$attemptsmode, $groupstudents, $students, $attemptsmode, $groupstudents, $students,

View File

@ -112,7 +112,7 @@ class quiz_statistics_report extends quiz_default_report {
} }
// Set up the main table. // Set up the main table.
$this->table = new quiz_report_statistics_table(); $this->table = new quiz_statistics_table();
if ($everything) { if ($everything) {
$report = get_string('completestatsfilename', 'quiz_statistics'); $report = get_string('completestatsfilename', 'quiz_statistics');
} else { } else {
@ -364,7 +364,7 @@ class quiz_statistics_report extends quiz_default_report {
return; return;
} }
$qtable = new quiz_report_statistics_question_table($question->id); $qtable = new quiz_statistics_question_table($question->id);
$exportclass = $this->table->export_class_instance(); $exportclass = $this->table->export_class_instance();
$qtable->export_class_instance($exportclass); $qtable->export_class_instance($exportclass);
if (!$this->table->is_downloading()) { if (!$this->table->is_downloading()) {

View File

@ -40,7 +40,7 @@ require_once($CFG->libdir . '/tablelib.php');
* @copyright 2008 Jamie Pratt * @copyright 2008 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @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. */ /** @var object this question with a _stats field. */
protected $questiondata; protected $questiondata;

View File

@ -36,7 +36,7 @@ require_once($CFG->libdir.'/tablelib.php');
* @copyright 2008 Jamie Pratt * @copyright 2008 Jamie Pratt
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @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. */ /** @var object the quiz settings. */
protected $quiz; protected $quiz;