protected function make_answer($answer) {
        return new question_answer($answer->id, $answer->answer,
                    $answer->fraction, $answer->feedback, $answer->feedbackformat);
    }
protected function make_answer($answer) {
        return new question_answer($answer->id, $answer->answer,
                    $answer->fraction, $answer->feedback, $answer->feedbackformat);
    }
protected function make_answer ( $ answer ) { return new question_answer ( $ answer -> id , $ answer -> answer , $ answer -> fraction , $ answer -> feedback , $ answer -> feedbackformat ) ; }
Create a question_answer, or an appropriate subclass for this question,
from a row loaded from the database.
@param object $answer the DB row from the question_answers table plus extra answer fields.
@return question_answer
Create a question_answer or an appropriate subclass for this question from a row loaded from the database .