protected function status(question_attempt $qa, qbehaviour_renderer $behaviouroutput,
            question_display_options $options) {
        return html_writer::tag('div', $qa->get_state_string($options->correctness),
                array('class' => 'state'));
    }
protected function status(question_attempt $qa, qbehaviour_renderer $behaviouroutput,
            question_display_options $options) {
        return html_writer::tag('div', $qa->get_state_string($options->correctness),
                array('class' => 'state'));
    }
protected function status ( question_attempt $ qa , qbehaviour_renderer $ behaviouroutput , question_display_options $ options ) { return html_writer :: tag ( 'div' , $ qa -> get_state_string ( $ options -> correctness ) , array ( 'class' => 'state' ) ) ; }
Generate the display of the status line that gives the current state of
the question.
@param question_attempt $qa the question attempt to display.
@param qbehaviour_renderer $behaviouroutput the renderer to output the behaviour
specific parts.
@param question_display_options $options controls what should and should not be displayed.
@return HTML fragment.
Generate the display of the status line that gives the current state of the question .