original_string: public function total_marks($quiz) {
          $totalmark = html_writer::span(quiz_format_grade($quiz, $quiz->sumgrades), 'mod_quiz_summarks');
          return html_writer::tag('span',
                  get_string('totalmarksx', 'quiz', $totalmark),
                  array('class' => 'totalpoints'));
      }
code: public function total_marks($quiz) {
          $totalmark = html_writer::span(quiz_format_grade($quiz, $quiz->sumgrades), 'mod_quiz_summarks');
          return html_writer::tag('span',
                  get_string('totalmarksx', 'quiz', $totalmark),
                  array('class' => 'totalpoints'));
      }
code_tokens: public function total_marks ( $ quiz ) { $ totalmark = html_writer :: span ( quiz_format_grade ( $ quiz , $ quiz -> sumgrades ) , 'mod_quiz_summarks' ) ; return html_writer :: tag ( 'span' , get_string ( 'totalmarksx' , 'quiz' , $ totalmark ) , array ( 'class' => 'totalpoints' ) ) ; }
docstring: Render the total marks available for the quiz.
  
  @param \stdClass $quiz the quiz settings from the database.
  @return string HTML to output.
docstring_tokens: Render the total marks available for the quiz .