original_string: public function get_navigation_panel(mod_quiz_renderer $output,
               $panelclass, $page, $showall = false) {
          $panel = new $panelclass($this, $this->get_display_options(true), $page, $showall);
  
          $bc = new block_contents();
          $bc->attributes['id'] = 'mod_quiz_navblock';
          $bc->attributes['role'] = 'navigation';
          $bc->attributes['aria-labelledby'] = 'mod_quiz_navblock_title';
          $bc->title = html_writer::span(get_string('quiznavigation', 'quiz'), '', array('id' => 'mod_quiz_navblock_title'));
          $bc->content = $output->navigation_panel($panel);
          return $bc;
      }
code: public function get_navigation_panel(mod_quiz_renderer $output,
               $panelclass, $page, $showall = false) {
          $panel = new $panelclass($this, $this->get_display_options(true), $page, $showall);
  
          $bc = new block_contents();
          $bc->attributes['id'] = 'mod_quiz_navblock';
          $bc->attributes['role'] = 'navigation';
          $bc->attributes['aria-labelledby'] = 'mod_quiz_navblock_title';
          $bc->title = html_writer::span(get_string('quiznavigation', 'quiz'), '', array('id' => 'mod_quiz_navblock_title'));
          $bc->content = $output->navigation_panel($panel);
          return $bc;
      }
code_tokens: public function get_navigation_panel ( mod_quiz_renderer $ output , $ panelclass , $ page , $ showall = false ) { $ panel = new $ panelclass ( $ this , $ this -> get_display_options ( true ) , $ page , $ showall ) ; $ bc = new block_contents ( ) ; $ bc -> attributes [ 'id' ] = 'mod_quiz_navblock' ; $ bc -> attributes [ 'role' ] = 'navigation' ; $ bc -> attributes [ 'aria-labelledby' ] = 'mod_quiz_navblock_title' ; $ bc -> title = html_writer :: span ( get_string ( 'quiznavigation' , 'quiz' ) , '' , array ( 'id' => 'mod_quiz_navblock_title' ) ) ; $ bc -> content = $ output -> navigation_panel ( $ panel ) ; return $ bc ; }
docstring: Get the navigation panel object for this attempt.
  
  @param $panelclass The type of panel, quiz_attempt_nav_panel or quiz_review_nav_panel
  @param $page the current page number.
  @param $showall whether we are showing the whole quiz on one page. (Used by review.php)
  @return quiz_nav_panel_base the requested object.
docstring_tokens: Get the navigation panel object for this attempt .