original_string: protected function start_regrade($quiz, $cm) {
          require_capability('mod/quiz:regrade', $this->context);
          $this->print_header_and_tabs($cm, $this->course, $quiz, $this->mode);
      }
code: protected function start_regrade($quiz, $cm) {
          require_capability('mod/quiz:regrade', $this->context);
          $this->print_header_and_tabs($cm, $this->course, $quiz, $this->mode);
      }
code_tokens: protected function start_regrade ( $ quiz , $ cm ) { require_capability ( 'mod/quiz:regrade' , $ this -> context ) ; $ this -> print_header_and_tabs ( $ cm , $ this -> course , $ quiz , $ this -> mode ) ; }
docstring: Check necessary capabilities, and start the display of the regrade progress page.
  @param object $quiz the quiz settings.
  @param object $cm the cm object for the quiz.
docstring_tokens: Check necessary capabilities and start the display of the regrade progress page .