original_string: public function on_gradebook_end() {
  
          $this->open_xml_writer('gradebook.xml');
          $this->xmlwriter->begin_tag('gradebook');
          $this->write_grade_categories();
          $this->write_grade_items();
          $this->write_grade_letters();
          $this->xmlwriter->end_tag('gradebook');
          $this->close_xml_writer();
      }
code: public function on_gradebook_end() {
  
          $this->open_xml_writer('gradebook.xml');
          $this->xmlwriter->begin_tag('gradebook');
          $this->write_grade_categories();
          $this->write_grade_items();
          $this->write_grade_letters();
          $this->xmlwriter->end_tag('gradebook');
          $this->close_xml_writer();
      }
code_tokens: public function on_gradebook_end ( ) { $ this -> open_xml_writer ( 'gradebook.xml' ) ; $ this -> xmlwriter -> begin_tag ( 'gradebook' ) ; $ this -> write_grade_categories ( ) ; $ this -> write_grade_items ( ) ; $ this -> write_grade_letters ( ) ; $ this -> xmlwriter -> end_tag ( 'gradebook' ) ; $ this -> close_xml_writer ( ) ; }
docstring: Writes the collected information into gradebook.xml
docstring_tokens: Writes the collected information into gradebook . xml