MediaWiki
REL1_22
|
Public Member Functions | |
__construct ($main, $format) | |
Constructor 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 156 of file ApiRsd.php.
ApiFormatXmlRsd::__construct | ( | $ | main, |
$ | format | ||
) |
Constructor If $format ends with 'fm', pretty-print the output in HTML.
$main | ApiMain | |
string | $format | Format name |
Reimplemented from ApiFormatBase.
Definition at line 157 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 162 of file ApiRsd.php.