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');
    }
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');
    }
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' ) ; }
Prepares the file manager and starts writing outcomes.xml
Prepares the file manager and starts writing outcomes . xml