MediaWiki  1.28.1
JSONRCFeedFormatter Class Reference

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

Inheritance diagram for JSONRCFeedFormatter:
Collaboration diagram for JSONRCFeedFormatter:

Protected Member Functions

 formatArray (array $packet)
 
- Protected Member Functions inherited from MachineReadableRCFeedFormatter
 formatArray (array $packet)
 Take the packet and return the formatted string. More...
 

Additional Inherited Members

- Public Member Functions inherited from MachineReadableRCFeedFormatter
 getLine (array $feed, RecentChange $rc, $actionComment)
 Generates a notification that can be easily interpreted by a machine. More...
 

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

Definition at line 29 of file JSONRCFeedFormatter.php.

References FormatJson\encode().


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