original_string: public function begin_database_export($version, $release, $timestamp, $description) {
          $this->output('<?xml version="1.0" encoding="utf-8"?>');
          //TODO add xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" and schema information
          $this->output('<moodle_database version="'.$version.'" release="'.$release.'" timestamp="'.$timestamp.'"'.(empty ($description) ? '' : ' comment="'.htmlspecialchars($description, ENT_QUOTES, 'UTF-8').'"').'>');
      }
code: public function begin_database_export($version, $release, $timestamp, $description) {
          $this->output('<?xml version="1.0" encoding="utf-8"?>');
          //TODO add xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" and schema information
          $this->output('<moodle_database version="'.$version.'" release="'.$release.'" timestamp="'.$timestamp.'"'.(empty ($description) ? '' : ' comment="'.htmlspecialchars($description, ENT_QUOTES, 'UTF-8').'"').'>');
      }
code_tokens: public function begin_database_export ( $ version , $ release , $ timestamp , $ description ) { $ this -> output ( '<?xml version="1.0" encoding="utf-8"?>' ) ; //TODO add xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" and schema information $ this -> output ( '<moodle_database version="' . $ version . '" release="' . $ release . '" timestamp="' . $ timestamp . '"' . ( empty ( $ description ) ? '' : ' comment="' . htmlspecialchars ( $ description , ENT_QUOTES , 'UTF-8' ) . '"' ) . '>' ) ; }
docstring: Callback function. Outputs open XML PI and moodle_database opening tag.
  
  @param float $version the version of the system which generating the data
  @param string $release moodle release info
  @param string $timestamp the timestamp of the data (in ISO 8601) format.
  @param string $description a user description of the data.
  @return void
docstring_tokens: Callback function . Outputs open XML PI and moodle_database opening tag .