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;
    }
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;
    }
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 ; }
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
Renders each question