public function render_grade_question($questionusage, $slot, $displayoptions, $questionnumber, $heading) {
        $output = '';

        if ($heading) {
            $output .= $this->heading($heading, 4);
        }

        $output .= $questionusage->render_question($slot, $displayoptions, $questionnumber);

        return $output;
    }
public function render_grade_question($questionusage, $slot, $displayoptions, $questionnumber, $heading) {
        $output = '';

        if ($heading) {
            $output .= $this->heading($heading, 4);
        }

        $output .= $questionusage->render_question($slot, $displayoptions, $questionnumber);

        return $output;
    }
public function render_grade_question ( $ questionusage , $ slot , $ displayoptions , $ questionnumber , $ heading ) { $ output = '' ; if ( $ heading ) { $ output .= $ this -> heading ( $ heading , 4 ) ; } $ output .= $ questionusage -> render_question ( $ slot , $ displayoptions , $ questionnumber ) ; return $ output ; }
Render grade question content.

@param question_usage_by_activity $questionusage The question usage that need to grade.
@param int $slot the number used to identify this question within this usage.
@param question_display_options $displayoptions the display options to use.
@param int $questionnumber the number of the question to check.
@param string $heading the question heading text.
@return string The HTML for the question display.
Render grade question content .