MediaWiki
1.23.2
|
Formats a notification into the JSON format (http://www.json.org) More...
Protected Member Functions | |
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... | |
Formats a notification into the JSON format (http://www.json.org)
Definition at line 27 of file JSONRCFeedFormatter.php.
|
protected |
Take the packet and return the formatted string.
array | $packet |
Reimplemented from MachineReadableRCFeedFormatter.
Definition at line 29 of file JSONRCFeedFormatter.php.
References FormatJson\encode().