original_string: public function on_gradebook_grade_outcomes_start() {
  
          $syscontextid  = $this->converter->get_contextid(CONTEXT_SYSTEM);
          $this->fileman = $this->converter->get_file_manager($syscontextid, 'grade', 'outcome');
  
          $this->open_xml_writer('outcomes.xml');
          $this->xmlwriter->begin_tag('outcomes_definition');
      }
code: public function on_gradebook_grade_outcomes_start() {
  
          $syscontextid  = $this->converter->get_contextid(CONTEXT_SYSTEM);
          $this->fileman = $this->converter->get_file_manager($syscontextid, 'grade', 'outcome');
  
          $this->open_xml_writer('outcomes.xml');
          $this->xmlwriter->begin_tag('outcomes_definition');
      }
code_tokens: public function on_gradebook_grade_outcomes_start ( ) { $ syscontextid = $ this -> converter -> get_contextid ( CONTEXT_SYSTEM ) ; $ this -> fileman = $ this -> converter -> get_file_manager ( $ syscontextid , 'grade' , 'outcome' ) ; $ this -> open_xml_writer ( 'outcomes.xml' ) ; $ this -> xmlwriter -> begin_tag ( 'outcomes_definition' ) ; }
docstring: Prepares the file manager and starts writing outcomes.xml
docstring_tokens: Prepares the file manager and starts writing outcomes . xml