MediaWiki  REL1_22
ApiFormatYaml Class Reference

API YAML output formatter. More...

Inheritance diagram for ApiFormatYaml:
Collaboration diagram for ApiFormatYaml:

List of all members.

Public Member Functions

 getDescription ()
 Returns the description string for this module.
 getMimeType ()
 Overriding class returns the mime type that should be sent to the client.

Detailed Description

API YAML output formatter.

Definition at line 31 of file ApiFormatYaml.php.


Member Function Documentation

Returns the description string for this module.

Returns:
mixed string or array of strings

Reimplemented from ApiFormatJson.

Definition at line 37 of file ApiFormatYaml.php.

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 ApiFormatJson.

Definition at line 33 of file ApiFormatYaml.php.


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