MediaWiki  REL1_24
JSONRCFeedFormatter Class Reference

Formats a notification into the JSON format (http://www.json.org) More...

Inheritance diagram for JSONRCFeedFormatter:
Collaboration diagram for JSONRCFeedFormatter:

List of all members.

Protected Member Functions

 formatArray (array $packet)
 Take the packet and return the formatted string.

Detailed Description

Formats a notification into the JSON format (http://www.json.org)

Since:
1.22

Definition at line 27 of file JSONRCFeedFormatter.php.


Member Function Documentation

JSONRCFeedFormatter::formatArray ( array packet) [protected]

Take the packet and return the formatted string.

Parameters:
array$packet
Returns:
string

Reimplemented from MachineReadableRCFeedFormatter.

Definition at line 29 of file JSONRCFeedFormatter.php.

References FormatJson\encode().


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