MDL-26425 change all table subclasses to use parent::__construct
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user