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

List of all members.

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.

Detailed Description

Definition at line 156 of file ApiRsd.php.


Constructor & Destructor Documentation

ApiFormatXmlRsd::__construct ( main,
format 
)

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

Parameters:
$mainApiMain
string$formatFormat name

Reimplemented from ApiFormatBase.

Definition at line 157 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 162 of file ApiRsd.php.


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