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
parent 9ad535c550
commit d42b8ac2f3
7 changed files with 8 additions and 8 deletions

View File

@ -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();

View File

@ -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'),

View File

@ -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'),

View File

@ -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,

View File

@ -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()) {

View File

@ -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;

View File

@ -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;