original_string: public function render_question($slot, $reviewing, mod_quiz_renderer $renderer, $thispageurl = null) {
          if ($this->is_blocked_by_previous_question($slot)) {
              $placeholderqa = $this->make_blocked_question_placeholder($slot);
  
              $displayoptions = $this->get_display_options($reviewing);
              $displayoptions->manualcomment = question_display_options::HIDDEN;
              $displayoptions->history = question_display_options::HIDDEN;
              $displayoptions->readonly = true;
  
              return html_writer::div($placeholderqa->render($displayoptions,
                      $this->get_question_number($this->get_original_slot($slot))),
                      'mod_quiz-blocked_question_warning');
          }
  
          return $this->render_question_helper($slot, $reviewing, $thispageurl, $renderer, null);
      }
code: public function render_question($slot, $reviewing, mod_quiz_renderer $renderer, $thispageurl = null) {
          if ($this->is_blocked_by_previous_question($slot)) {
              $placeholderqa = $this->make_blocked_question_placeholder($slot);
  
              $displayoptions = $this->get_display_options($reviewing);
              $displayoptions->manualcomment = question_display_options::HIDDEN;
              $displayoptions->history = question_display_options::HIDDEN;
              $displayoptions->readonly = true;
  
              return html_writer::div($placeholderqa->render($displayoptions,
                      $this->get_question_number($this->get_original_slot($slot))),
                      'mod_quiz-blocked_question_warning');
          }
  
          return $this->render_question_helper($slot, $reviewing, $thispageurl, $renderer, null);
      }
code_tokens: public function render_question ( $ slot , $ reviewing , mod_quiz_renderer $ renderer , $ thispageurl = null ) { if ( $ this -> is_blocked_by_previous_question ( $ slot ) ) { $ placeholderqa = $ this -> make_blocked_question_placeholder ( $ slot ) ; $ displayoptions = $ this -> get_display_options ( $ reviewing ) ; $ displayoptions -> manualcomment = question_display_options :: HIDDEN ; $ displayoptions -> history = question_display_options :: HIDDEN ; $ displayoptions -> readonly = true ; return html_writer :: div ( $ placeholderqa -> render ( $ displayoptions , $ this -> get_question_number ( $ this -> get_original_slot ( $ slot ) ) ) , 'mod_quiz-blocked_question_warning' ) ; } return $ this -> render_question_helper ( $ slot , $ reviewing , $ thispageurl , $ renderer , null ) ; }
docstring: Generate the HTML that displayes the question in its current state, with
  the appropriate display options.
  
  @param int $slot identifies the question in the attempt.
  @param bool $reviewing is the being printed on an attempt or a review page.
  @param mod_quiz_renderer $renderer the quiz renderer.
  @param moodle_url $thispageurl the URL of the page this question is being printed on.
  @return string HTML for the question in its current state.
docstring_tokens: Generate the HTML that displayes the question in its current state with the appropriate display options .