original_string: public function render_assign_submit_for_grading_page($page) {
          $o = '';
  
          $o .= $this->output->container_start('submitforgrading');
          $o .= $this->output->heading(get_string('confirmsubmissionheading', 'assign'), 3);
  
          $cancelurl = new moodle_url('/mod/assign/view.php', array('id' => $page->coursemoduleid));
          if (count($page->notifications)) {
              // At least one of the submission plugins is not ready for submission.
  
              $o .= $this->output->heading(get_string('submissionnotready', 'assign'), 4);
  
              foreach ($page->notifications as $notification) {
                  $o .= $this->output->notification($notification);
              }
  
              $o .= $this->output->continue_button($cancelurl);
          } else {
              // All submission plugins ready - show the confirmation form.
              $o .= $this->moodleform($page->confirmform);
          }
          $o .= $this->output->container_end();
  
          return $o;
      }
code: public function render_assign_submit_for_grading_page($page) {
          $o = '';
  
          $o .= $this->output->container_start('submitforgrading');
          $o .= $this->output->heading(get_string('confirmsubmissionheading', 'assign'), 3);
  
          $cancelurl = new moodle_url('/mod/assign/view.php', array('id' => $page->coursemoduleid));
          if (count($page->notifications)) {
              // At least one of the submission plugins is not ready for submission.
  
              $o .= $this->output->heading(get_string('submissionnotready', 'assign'), 4);
  
              foreach ($page->notifications as $notification) {
                  $o .= $this->output->notification($notification);
              }
  
              $o .= $this->output->continue_button($cancelurl);
          } else {
              // All submission plugins ready - show the confirmation form.
              $o .= $this->moodleform($page->confirmform);
          }
          $o .= $this->output->container_end();
  
          return $o;
      }
code_tokens: public function render_assign_submit_for_grading_page ( $ page ) { $ o = '' ; $ o .= $ this -> output -> container_start ( 'submitforgrading' ) ; $ o .= $ this -> output -> heading ( get_string ( 'confirmsubmissionheading' , 'assign' ) , 3 ) ; $ cancelurl = new moodle_url ( '/mod/assign/view.php' , array ( 'id' => $ page -> coursemoduleid ) ) ; if ( count ( $ page -> notifications ) ) { // At least one of the submission plugins is not ready for submission. $ o .= $ this -> output -> heading ( get_string ( 'submissionnotready' , 'assign' ) , 4 ) ; foreach ( $ page -> notifications as $ notification ) { $ o .= $ this -> output -> notification ( $ notification ) ; } $ o .= $ this -> output -> continue_button ( $ cancelurl ) ; } else { // All submission plugins ready - show the confirmation form. $ o .= $ this -> moodleform ( $ page -> confirmform ) ; } $ o .= $ this -> output -> container_end ( ) ; return $ o ; }
docstring: Render the submit for grading page
  
  @param assign_submit_for_grading_page $page
  @return string
docstring_tokens: Render the submit for grading page