original_string: public function format_message_text($cm, $post) {
          $context = \context_module::instance($cm->id);
          $message = file_rewrite_pluginfile_urls(
              $post->message,
              'pluginfile.php',
              $context->id,
              'mod_forum',
              'post',
              $post->id,
              [
                  'includetoken' => true,
              ]);
          $options = new \stdClass();
          $options->para = true;
          $options->context = $context;
          return format_text($message, $post->messageformat, $options);
      }
code: public function format_message_text($cm, $post) {
          $context = \context_module::instance($cm->id);
          $message = file_rewrite_pluginfile_urls(
              $post->message,
              'pluginfile.php',
              $context->id,
              'mod_forum',
              'post',
              $post->id,
              [
                  'includetoken' => true,
              ]);
          $options = new \stdClass();
          $options->para = true;
          $options->context = $context;
          return format_text($message, $post->messageformat, $options);
      }
code_tokens: public function format_message_text ( $ cm , $ post ) { $ context = \ context_module :: instance ( $ cm -> id ) ; $ message = file_rewrite_pluginfile_urls ( $ post -> message , 'pluginfile.php' , $ context -> id , 'mod_forum' , 'post' , $ post -> id , [ 'includetoken' => true , ] ) ; $ options = new \ stdClass ( ) ; $ options -> para = true ; $ options -> context = $ context ; return format_text ( $ message , $ post -> messageformat , $ options ) ; }
docstring: The HTML version of the e-mail message.
  
  @param \stdClass $cm
  @param \stdClass $post
  @return string
docstring_tokens: The HTML version of the e - mail message .