original_string: protected static function format_notification_message_html($messagetype,
                                                               $info,
                                                               $course,
                                                               $context,
                                                               $modulename,
                                                               $coursemodule,
                                                               $assignmentname) {
          global $CFG;
          $formatparams = array('context' => $context->get_course_context());
          $posthtml  = '<p><font face="sans-serif">' .
                       '<a href="' . $CFG->wwwroot . '/course/view.php?id=' . $course->id . '">' .
                       format_string($course->shortname, true, $formatparams) .
                       '</a> ->' .
                       '<a href="' . $CFG->wwwroot . '/mod/assign/index.php?id=' . $course->id . '">' .
                       $modulename .
                       '</a> ->' .
                       '<a href="' . $CFG->wwwroot . '/mod/assign/view.php?id=' . $coursemodule->id . '">' .
                       format_string($assignmentname, true, $formatparams) .
                       '</a></font></p>';
          $posthtml .= '<hr /><font face="sans-serif">';
          $posthtml .= '<p>' . get_string($messagetype . 'html', 'assign', $info) . '</p>';
          $posthtml .= '</font><hr />';
          return $posthtml;
      }
code: protected static function format_notification_message_html($messagetype,
                                                               $info,
                                                               $course,
                                                               $context,
                                                               $modulename,
                                                               $coursemodule,
                                                               $assignmentname) {
          global $CFG;
          $formatparams = array('context' => $context->get_course_context());
          $posthtml  = '<p><font face="sans-serif">' .
                       '<a href="' . $CFG->wwwroot . '/course/view.php?id=' . $course->id . '">' .
                       format_string($course->shortname, true, $formatparams) .
                       '</a> ->' .
                       '<a href="' . $CFG->wwwroot . '/mod/assign/index.php?id=' . $course->id . '">' .
                       $modulename .
                       '</a> ->' .
                       '<a href="' . $CFG->wwwroot . '/mod/assign/view.php?id=' . $coursemodule->id . '">' .
                       format_string($assignmentname, true, $formatparams) .
                       '</a></font></p>';
          $posthtml .= '<hr /><font face="sans-serif">';
          $posthtml .= '<p>' . get_string($messagetype . 'html', 'assign', $info) . '</p>';
          $posthtml .= '</font><hr />';
          return $posthtml;
      }
code_tokens: protected static function format_notification_message_html ( $ messagetype , $ info , $ course , $ context , $ modulename , $ coursemodule , $ assignmentname ) { global $ CFG ; $ formatparams = array ( 'context' => $ context -> get_course_context ( ) ) ; $ posthtml = '<p><font face="sans-serif">' . '<a href="' . $ CFG -> wwwroot . '/course/view.php?id=' . $ course -> id . '">' . format_string ( $ course -> shortname , true , $ formatparams ) . '</a> ->' . '<a href="' . $ CFG -> wwwroot . '/mod/assign/index.php?id=' . $ course -> id . '">' . $ modulename . '</a> ->' . '<a href="' . $ CFG -> wwwroot . '/mod/assign/view.php?id=' . $ coursemodule -> id . '">' . format_string ( $ assignmentname , true , $ formatparams ) . '</a></font></p>' ; $ posthtml .= '<hr /><font face="sans-serif">' ; $ posthtml .= '<p>' . get_string ( $ messagetype . 'html' , 'assign' , $ info ) . '</p>' ; $ posthtml .= '</font><hr />' ; return $ posthtml ; }
docstring: Format a notification for HTML.
  
  @param string $messagetype
  @param stdClass $info
  @param stdClass $course
  @param stdClass $context
  @param string $modulename
  @param stdClass $coursemodule
  @param string $assignmentname
docstring_tokens: Format a notification for HTML .