MDL-26425 change all table subclasses to use parent::__construct

This commit is contained in:
Tim Hunt
2011-03-27 20:06:45 +01:00
parent ba9164e575
commit a208aefbc4
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ class quiz_report_overview_table extends table_sql {
function quiz_report_overview_table($quiz , $qmsubselect, $groupstudents,
$students, $detailedmarks, $questions, $candelete, $reporturl, $displayoptions, $context){
parent::table_sql('mod-quiz-report-overview-report');
parent::__construct('mod-quiz-report-overview-report');
$this->quiz = $quiz;
$this->qmsubselect = $qmsubselect;
$this->groupstudents = $groupstudents;
@@ -10,7 +10,7 @@ class quiz_report_responses_table extends table_sql {
function quiz_report_responses_table($quiz , $qmsubselect, $groupstudents,
$students, $questions, $candelete, $reporturl, $displayoptions, $context){
parent::table_sql('mod-quiz-report-responses-report');
parent::__construct('mod-quiz-report-responses-report');
$this->quiz = $quiz;
$this->qmsubselect = $qmsubselect;
$this->groupstudents = $groupstudents;
@@ -8,7 +8,7 @@ class quiz_report_statistics_question_table extends flexible_table {
var $question;
function quiz_report_statistics_question_table($qid){
parent::flexible_table('mod-quiz-report-statistics-question-table'.$qid);
parent::__construct('mod-quiz-report-statistics-question-table'.$qid);
}
/**
@@ -6,7 +6,7 @@ class quiz_report_statistics_table extends flexible_table {
var $quiz;
function quiz_report_statistics_table(){
parent::flexible_table('mod-quiz-report-statistics-report');
parent::__construct('mod-quiz-report-statistics-report');
}
/**