original_string: public function xmlOutput() {
          $o = '';
          $o.= '        <KEY NAME="' . $this->name . '"';
          $o.= ' TYPE="' . $this->getXMLDBKeyName($this->type) . '"';
          $o.= ' FIELDS="' . implode(', ', $this->fields) . '"';
          if ($this->type == XMLDB_KEY_FOREIGN ||
              $this->type == XMLDB_KEY_FOREIGN_UNIQUE) {
              $o.= ' REFTABLE="' . $this->reftable . '"';
              $o.= ' REFFIELDS="' . implode(', ', $this->reffields) . '"';
          }
          if ($this->comment) {
              $o.= ' COMMENT="' . htmlspecialchars($this->comment) . '"';
          }
          $o.= '/>' . "\n";
  
          return $o;
      }
code: public function xmlOutput() {
          $o = '';
          $o.= '        <KEY NAME="' . $this->name . '"';
          $o.= ' TYPE="' . $this->getXMLDBKeyName($this->type) . '"';
          $o.= ' FIELDS="' . implode(', ', $this->fields) . '"';
          if ($this->type == XMLDB_KEY_FOREIGN ||
              $this->type == XMLDB_KEY_FOREIGN_UNIQUE) {
              $o.= ' REFTABLE="' . $this->reftable . '"';
              $o.= ' REFFIELDS="' . implode(', ', $this->reffields) . '"';
          }
          if ($this->comment) {
              $o.= ' COMMENT="' . htmlspecialchars($this->comment) . '"';
          }
          $o.= '/>' . "\n";
  
          return $o;
      }
code_tokens: public function xmlOutput ( ) { $ o = '' ; $ o .= '        <KEY NAME="' . $ this -> name . '"' ; $ o .= ' TYPE="' . $ this -> getXMLDBKeyName ( $ this -> type ) . '"' ; $ o .= ' FIELDS="' . implode ( ', ' , $ this -> fields ) . '"' ; if ( $ this -> type == XMLDB_KEY_FOREIGN || $ this -> type == XMLDB_KEY_FOREIGN_UNIQUE ) { $ o .= ' REFTABLE="' . $ this -> reftable . '"' ; $ o .= ' REFFIELDS="' . implode ( ', ' , $ this -> reffields ) . '"' ; } if ( $ this -> comment ) { $ o .= ' COMMENT="' . htmlspecialchars ( $ this -> comment ) . '"' ; } $ o .= '/>' . "\n" ; return $ o ; }
docstring: This function will output the XML text for one key
  @return string
docstring_tokens: This function will output the XML text for one key