public function format_stem_text($qa, $stemid) {
        $question = $qa->get_question();
        return $question->format_text(
                    $question->stems[$stemid], $question->stemformat[$stemid],
                    $qa, 'qtype_match', 'subquestion', $stemid);
    }
public function format_stem_text($qa, $stemid) {
        $question = $qa->get_question();
        return $question->format_text(
                    $question->stems[$stemid], $question->stemformat[$stemid],
                    $qa, 'qtype_match', 'subquestion', $stemid);
    }
public function format_stem_text ( $ qa , $ stemid ) { $ question = $ qa -> get_question ( ) ; return $ question -> format_text ( $ question -> stems [ $ stemid ] , $ question -> stemformat [ $ stemid ] , $ qa , 'qtype_match' , 'subquestion' , $ stemid ) ; }
Format each question stem. Overwritten by randomsamatch renderer.

@param question_attempt $qa
@param integer $stemid stem index
@return string
Format each question stem . Overwritten by randomsamatch renderer .