original_string: public function getFormattedAttributes()
      {
          $rtn = "";
          foreach($this->listAttributes() as $name => $value)
          {
              $rtn .= sprintf(" %s=\"%s\"",htmlentities($name),htmlentities($value));
          }
          return $rtn;
      }
code: public function getFormattedAttributes()
      {
          $rtn = "";
          foreach($this->listAttributes() as $name => $value)
          {
              $rtn .= sprintf(" %s=\"%s\"",htmlentities($name),htmlentities($value));
          }
          return $rtn;
      }
code_tokens: public function getFormattedAttributes ( ) { $ rtn = "" ; foreach ( $ this -> listAttributes ( ) as $ name => $ value ) { $ rtn .= sprintf ( " %s=\"%s\"" , htmlentities ( $ name ) , htmlentities ( $ value ) ) ; } return $ rtn ; }
docstring: Format and return attributes in a name="value" format as
  it should appear in an HTML tag.
  @return  string
docstring_tokens: Format and return attributes in a name = value format as it should appear in an HTML tag .