MediaWiki  REL1_19
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.
 getVersion ()
 Returns a string that identifies the version of the extending class.

Detailed Description

Definition at line 164 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
$formatstring Format name

Reimplemented from ApiFormatXml.

Definition at line 165 of file ApiRsd.php.

References ApiFormatXml\setRootElement().

Here is the call graph for this function:


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 170 of file ApiRsd.php.

Returns a string that identifies the version of the extending class.

Typically includes the class name, the svn revision, timestamp, and last author. Usually done with SVN's Id keyword

Returns:
string

Reimplemented from ApiFormatXml.

Definition at line 174 of file ApiRsd.php.


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