MediaWiki  REL1_24
ApiFormatXmlRsd Class Reference
Inheritance diagram for ApiFormatXmlRsd:
Collaboration diagram for ApiFormatXmlRsd:

List of all members.

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.

Detailed Description

Definition at line 162 of file ApiRsd.php.


Constructor & Destructor Documentation

ApiFormatXmlRsd::__construct ( ApiMain main,
format 
)

If $format ends with 'fm', pretty-print the output in HTML.

Parameters:
ApiMain$main
string$formatFormat name

Reimplemented from ApiFormatBase.

Definition at line 163 of file ApiRsd.php.

References ApiFormatXml\setRootElement().


Member Function Documentation

Overriding class returns the MIME type that should be sent to the client.

This method is not called if getIsHtml() returns true.

Returns:
string

Reimplemented from ApiFormatXml.

Definition at line 168 of file ApiRsd.php.


The documentation for this class was generated from the following file: