private function format_response($response, $context, $responseformat, $answerid, $options) {

        $convertstudentresponse = file_rewrite_pluginfile_urls($response, 'pluginfile.php',
            $context->id, 'mod_lesson', 'page_responses', $answerid);

        return format_text($convertstudentresponse, $responseformat, $options);
    }
private function format_response($response, $context, $responseformat, $answerid, $options) {

        $convertstudentresponse = file_rewrite_pluginfile_urls($response, 'pluginfile.php',
            $context->id, 'mod_lesson', 'page_responses', $answerid);

        return format_text($convertstudentresponse, $responseformat, $options);
    }
private function format_response ( $ response , $ context , $ responseformat , $ answerid , $ options ) { $ convertstudentresponse = file_rewrite_pluginfile_urls ( $ response , 'pluginfile.php' , $ context -> id , 'mod_lesson' , 'page_responses' , $ answerid ) ; return format_text ( $ convertstudentresponse , $ responseformat , $ options ) ; }
Formats the response

@param string $response
@param context $context
@param int $responseformat
@param int $answerid
@param stdClass $options
@return string Returns formatted string
Formats the response