original_string: protected function view_reveal_identities_confirm() {
          require_capability('mod/assign:revealidentities', $this->get_context());
  
          $o = '';
          $header = new assign_header($this->get_instance(),
                                      $this->get_context(),
                                      false,
                                      $this->get_course_module()->id);
          $o .= $this->get_renderer()->render($header);
  
          $urlparams = array('id'=>$this->get_course_module()->id,
                             'action'=>'revealidentitiesconfirm',
                             'sesskey'=>sesskey());
          $confirmurl = new moodle_url('/mod/assign/view.php', $urlparams);
  
          $urlparams = array('id'=>$this->get_course_module()->id,
                             'action'=>'grading');
          $cancelurl = new moodle_url('/mod/assign/view.php', $urlparams);
  
          $o .= $this->get_renderer()->confirm(get_string('revealidentitiesconfirm', 'assign'),
                                               $confirmurl,
                                               $cancelurl);
          $o .= $this->view_footer();
  
          \mod_assign\event\reveal_identities_confirmation_page_viewed::create_from_assign($this)->trigger();
  
          return $o;
      }
code: protected function view_reveal_identities_confirm() {
          require_capability('mod/assign:revealidentities', $this->get_context());
  
          $o = '';
          $header = new assign_header($this->get_instance(),
                                      $this->get_context(),
                                      false,
                                      $this->get_course_module()->id);
          $o .= $this->get_renderer()->render($header);
  
          $urlparams = array('id'=>$this->get_course_module()->id,
                             'action'=>'revealidentitiesconfirm',
                             'sesskey'=>sesskey());
          $confirmurl = new moodle_url('/mod/assign/view.php', $urlparams);
  
          $urlparams = array('id'=>$this->get_course_module()->id,
                             'action'=>'grading');
          $cancelurl = new moodle_url('/mod/assign/view.php', $urlparams);
  
          $o .= $this->get_renderer()->confirm(get_string('revealidentitiesconfirm', 'assign'),
                                               $confirmurl,
                                               $cancelurl);
          $o .= $this->view_footer();
  
          \mod_assign\event\reveal_identities_confirmation_page_viewed::create_from_assign($this)->trigger();
  
          return $o;
      }
code_tokens: protected function view_reveal_identities_confirm ( ) { require_capability ( 'mod/assign:revealidentities' , $ this -> get_context ( ) ) ; $ o = '' ; $ header = new assign_header ( $ this -> get_instance ( ) , $ this -> get_context ( ) , false , $ this -> get_course_module ( ) -> id ) ; $ o .= $ this -> get_renderer ( ) -> render ( $ header ) ; $ urlparams = array ( 'id' => $ this -> get_course_module ( ) -> id , 'action' => 'revealidentitiesconfirm' , 'sesskey' => sesskey ( ) ) ; $ confirmurl = new moodle_url ( '/mod/assign/view.php' , $ urlparams ) ; $ urlparams = array ( 'id' => $ this -> get_course_module ( ) -> id , 'action' => 'grading' ) ; $ cancelurl = new moodle_url ( '/mod/assign/view.php' , $ urlparams ) ; $ o .= $ this -> get_renderer ( ) -> confirm ( get_string ( 'revealidentitiesconfirm' , 'assign' ) , $ confirmurl , $ cancelurl ) ; $ o .= $ this -> view_footer ( ) ; \ mod_assign \ event \ reveal_identities_confirmation_page_viewed :: create_from_assign ( $ this ) -> trigger ( ) ; return $ o ; }
docstring: Show a confirmation page to make sure they want to release student identities.
  
  @return string
docstring_tokens: Show a confirmation page to make sure they want to release student identities .