public function HttpClientXMLFormatter::accepts in Http Client 6.2
Same name and namespace in other branches
- 7.2 includes/formatter/HttpClientXMLFormatter.inc \HttpClientXMLFormatter::accepts()
Return the mime type that the formatter can parse.
Overrides HttpClientFormatter::accepts
File
- includes/
HttpClientXMLFormatter.inc, line 77
Class
- HttpClientXMLFormatter
- Class for handling xml-responses. Returns a SimpleXML object
Code
public function accepts() {
return $this
->mimeType();
}