Skip to content

Commit

Permalink
MDL-32300 quiz reports: proper frankenstyle prefixes on class names.
Browse files Browse the repository at this point in the history
  • Loading branch information
timhunt authored and danpoltawski committed Apr 10, 2012
1 parent 4c8ec44 commit 59ea817
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion mod/quiz/report/overview/overview_table.php
Expand Up @@ -33,7 +33,7 @@
* @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();

Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/report/overview/report.php
Expand Up @@ -128,7 +128,7 @@ public function display($quiz, $cm, $course) {
// 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'),
Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/report/responses/report.php
Expand Up @@ -145,7 +145,7 @@ public function display($quiz, $cm, $course) {
$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'),
Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/report/responses/responses_table.php
Expand Up @@ -33,7 +33,7 @@
* @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,
Expand Down
4 changes: 2 additions & 2 deletions mod/quiz/report/statistics/report.php
Expand Up @@ -112,7 +112,7 @@ public function display($quiz, $cm, $course) {
}

// 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 {
Expand Down Expand Up @@ -364,7 +364,7 @@ protected function output_individual_question_response_analysis($question,
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()) {
Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/report/statistics/statistics_question_table.php
Expand Up @@ -40,7 +40,7 @@
* @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;

Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/report/statistics/statistics_table.php
Expand Up @@ -36,7 +36,7 @@
* @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;

Expand Down

0 comments on commit 59ea817

Please sign in to comment.