public function render_display_index_heading($linktext, $listquestionurl) {
        $output = '';

        $output .= $this->heading(get_string('questionsthatneedgrading', 'quiz_grading'), 3);
        $output .= html_writer::tag('p', html_writer::link($listquestionurl, $linktext), ['class' => 'toggleincludeauto']);

        return $output;
    }
public function render_display_index_heading($linktext, $listquestionurl) {
        $output = '';

        $output .= $this->heading(get_string('questionsthatneedgrading', 'quiz_grading'), 3);
        $output .= html_writer::tag('p', html_writer::link($listquestionurl, $linktext), ['class' => 'toggleincludeauto']);

        return $output;
    }
public function render_display_index_heading ( $ linktext , $ listquestionurl ) { $ output = '' ; $ output .= $ this -> heading ( get_string ( 'questionsthatneedgrading' , 'quiz_grading' ) , 3 ) ; $ output .= html_writer :: tag ( 'p' , html_writer :: link ( $ listquestionurl , $ linktext ) , [ 'class' => 'toggleincludeauto' ] ) ; return $ output ; }
Render index display.

@param string $linktext The text of the link.
@param moodle_url $listquestionurl Url of the page that list all questions.
@return string The HTML for the display heading.
@throws coding_exception
Render index display .