original_string: public function back_to_view_page($output, $message = '') {
          if ($this->attempt_must_be_in_popup()) {
              echo $output->close_attempt_popup($this->quizobj->view_url(), $message);
              die();
          } else {
              redirect($this->quizobj->view_url(), $message);
          }
      }
code: public function back_to_view_page($output, $message = '') {
          if ($this->attempt_must_be_in_popup()) {
              echo $output->close_attempt_popup($this->quizobj->view_url(), $message);
              die();
          } else {
              redirect($this->quizobj->view_url(), $message);
          }
      }
code_tokens: public function back_to_view_page ( $ output , $ message = '' ) { if ( $ this -> attempt_must_be_in_popup ( ) ) { echo $ output -> close_attempt_popup ( $ this -> quizobj -> view_url ( ) , $ message ) ; die ( ) ; } else { redirect ( $ this -> quizobj -> view_url ( ) , $ message ) ; } }
docstring: Send the user back to the quiz view page. Normally this is just a redirect, but
  If we were in a secure window, we close this window, and reload the view window we came from.
  
  This method does not return;
  
  @param mod_quiz_renderer $output the quiz renderer.
  @param string $message optional message to output while redirecting.
docstring_tokens: Send the user back to the quiz view page . Normally this is just a redirect but If we were in a secure window we close this window and reload the view window we came from .