original_string: public function questions(quiz_attempt $attemptobj, $reviewing, $slots, $page, $showall,
                                mod_quiz_display_options $displayoptions) {
          $output = '';
          foreach ($slots as $slot) {
              $output .= $attemptobj->render_question($slot, $reviewing, $this,
                      $attemptobj->review_url($slot, $page, $showall));
          }
          return $output;
      }
code: public function questions(quiz_attempt $attemptobj, $reviewing, $slots, $page, $showall,
                                mod_quiz_display_options $displayoptions) {
          $output = '';
          foreach ($slots as $slot) {
              $output .= $attemptobj->render_question($slot, $reviewing, $this,
                      $attemptobj->review_url($slot, $page, $showall));
          }
          return $output;
      }
code_tokens: public function questions ( quiz_attempt $ attemptobj , $ reviewing , $ slots , $ page , $ showall , mod_quiz_display_options $ displayoptions ) { $ output = '' ; foreach ( $ slots as $ slot ) { $ output .= $ attemptobj -> render_question ( $ slot , $ reviewing , $ this , $ attemptobj -> review_url ( $ slot , $ page , $ showall ) ) ; } return $ output ; }
docstring: Renders each question
  
  @param quiz_attempt $attemptobj instance of quiz_attempt
  @param bool $reviewing
  @param array $slots array of intgers relating to questions
  @param int $page current page number
  @param bool $showall if true shows attempt on single page
  @param mod_quiz_display_options $displayoptions instance of mod_quiz_display_options
docstring_tokens: Renders each question