MediaWiki
REL1_24
|
Public Member Functions | |
__construct (ApiMain $main, $format) | |
If $format ends with 'fm', pretty-print the output in HTML. | |
getMimeType () | |
Overriding class returns the MIME type that should be sent to the client. |
Definition at line 162 of file ApiRsd.php.
ApiFormatXmlRsd::__construct | ( | ApiMain $ | main, |
$ | format | ||
) |
If $format ends with 'fm', pretty-print the output in HTML.
ApiMain | $main | |
string | $format | Format name |
Reimplemented from ApiFormatBase.
Definition at line 163 of file ApiRsd.php.
References ApiFormatXml\setRootElement().
Overriding class returns the MIME type that should be sent to the client.
This method is not called if getIsHtml() returns true.
Reimplemented from ApiFormatXml.
Definition at line 168 of file ApiRsd.php.