public function questions_recode_response_data(
            $qtype, $newquestionid, $sequencenumber, array $response) {
        $qtyperestorer = $this->get_qtype_restorer($qtype);
        if ($qtyperestorer) {
            $response = $qtyperestorer->recode_response($newquestionid, $sequencenumber, $response);
        }
        return $response;
    }
public function questions_recode_response_data(
            $qtype, $newquestionid, $sequencenumber, array $response) {
        $qtyperestorer = $this->get_qtype_restorer($qtype);
        if ($qtyperestorer) {
            $response = $qtyperestorer->recode_response($newquestionid, $sequencenumber, $response);
        }
        return $response;
    }
public function questions_recode_response_data ( $ qtype , $ newquestionid , $ sequencenumber , array $ response ) { $ qtyperestorer = $ this -> get_qtype_restorer ( $ qtype ) ; if ( $ qtyperestorer ) { $ response = $ qtyperestorer -> recode_response ( $ newquestionid , $ sequencenumber , $ response ) ; } return $ response ; }
Recode the respones data for a particular step of an attempt at at particular question.
@param string $qtype the question type.
@param int $newquestionid the question id.
@param int $sequencenumber the sequence number.
@param array $response the response data to recode.
Recode the respones data for a particular step of an attempt at at particular question .