original_string: public function display(core_backup_renderer $renderer) {
  
          $form = $this->initialise_stage_form();
          // A nasty hack follows to work around the sad fact that moodle quickforms
          // do not allow to actually return the HTML content, just to echo it.
          flush();
          ob_start();
          $form->display();
          $output = ob_get_contents();
          ob_end_clean();
  
          return $output;
      }
code: public function display(core_backup_renderer $renderer) {
  
          $form = $this->initialise_stage_form();
          // A nasty hack follows to work around the sad fact that moodle quickforms
          // do not allow to actually return the HTML content, just to echo it.
          flush();
          ob_start();
          $form->display();
          $output = ob_get_contents();
          ob_end_clean();
  
          return $output;
      }
code_tokens: public function display ( core_backup_renderer $ renderer ) { $ form = $ this -> initialise_stage_form ( ) ; // A nasty hack follows to work around the sad fact that moodle quickforms // do not allow to actually return the HTML content, just to echo it. flush ( ) ; ob_start ( ) ; $ form -> display ( ) ; $ output = ob_get_contents ( ) ; ob_end_clean ( ) ; return $ output ; }
docstring: Displays the stage.
  
  By default this involves instantiating the form for the stage and the calling
  it to display.
  
  @param core_backup_renderer $renderer
  @return string HTML code to echo
docstring_tokens: Displays the stage .