original_string: public function xmlOutput() {
          $o = '';
          $o.= '        <INDEX NAME="' . $this->name . '"';
          if ($this->unique) {
              $unique = 'true';
          } else {
              $unique = 'false';
          }
          $o.= ' UNIQUE="' . $unique . '"';
          $o.= ' FIELDS="' . implode(', ', $this->fields) . '"';
          if ($this->hints) {
              $o.= ' HINTS="' . implode(', ', $this->hints) . '"';
          }
          if ($this->comment) {
              $o.= ' COMMENT="' . htmlspecialchars($this->comment) . '"';
          }
          $o.= '/>' . "\n";
  
          return $o;
      }
code: public function xmlOutput() {
          $o = '';
          $o.= '        <INDEX NAME="' . $this->name . '"';
          if ($this->unique) {
              $unique = 'true';
          } else {
              $unique = 'false';
          }
          $o.= ' UNIQUE="' . $unique . '"';
          $o.= ' FIELDS="' . implode(', ', $this->fields) . '"';
          if ($this->hints) {
              $o.= ' HINTS="' . implode(', ', $this->hints) . '"';
          }
          if ($this->comment) {
              $o.= ' COMMENT="' . htmlspecialchars($this->comment) . '"';
          }
          $o.= '/>' . "\n";
  
          return $o;
      }
code_tokens: public function xmlOutput ( ) { $ o = '' ; $ o .= '        <INDEX NAME="' . $ this -> name . '"' ; if ( $ this -> unique ) { $ unique = 'true' ; } else { $ unique = 'false' ; } $ o .= ' UNIQUE="' . $ unique . '"' ; $ o .= ' FIELDS="' . implode ( ', ' , $ this -> fields ) . '"' ; if ( $ this -> hints ) { $ o .= ' HINTS="' . implode ( ', ' , $ this -> hints ) . '"' ; } if ( $ this -> comment ) { $ o .= ' COMMENT="' . htmlspecialchars ( $ this -> comment ) . '"' ; } $ o .= '/>' . "\n" ; return $ o ; }
docstring: This function will output the XML text for one index
  @return string
docstring_tokens: This function will output the XML text for one index