public function render_questions_table($includeauto, $data, $header) {
        if (empty($data)) {
            return $this->render_quiz_no_grade_question_notification();
        }
        $output = '';

        $table = new html_table();
        $table->class = 'generaltable';
        $table->id = 'questionstograde';
        $table->head = $header;
        $table->data = $data;

        $output .= html_writer::table($table);

        return $output;
    }
public function render_questions_table($includeauto, $data, $header) {
        if (empty($data)) {
            return $this->render_quiz_no_grade_question_notification();
        }
        $output = '';

        $table = new html_table();
        $table->class = 'generaltable';
        $table->id = 'questionstograde';
        $table->head = $header;
        $table->data = $data;

        $output .= html_writer::table($table);

        return $output;
    }
public function render_questions_table ( $ includeauto , $ data , $ header ) { if ( empty ( $ data ) ) { return $ this -> render_quiz_no_grade_question_notification ( ) ; } $ output = '' ; $ table = new html_table ( ) ; $ table -> class = 'generaltable' ; $ table -> id = 'questionstograde' ; $ table -> head = $ header ; $ table -> data = $ data ; $ output .= html_writer :: table ( $ table ) ; return $ output ; }
Render questions list table.

@param bool $includeauto True to show automatically graded questions.
@param array $data List of questions.
@param array $header List of table headers.
@return string The HTML for the question table.
@throws coding_exception
Render questions list table .