MediaWiki  1.34.0
XMLRCFeedFormatter.php
Go to the documentation of this file.
1 <?php
25 
26  protected function formatArray( array $packet ) {
27  return ApiFormatXml::recXmlPrint( 'recentchange', $packet, 0 );
28  }
29 }
MachineReadableRCFeedFormatter
Abstract class so there can be multiple formatters outputting the same data.
Definition: MachineReadableRCFeedFormatter.php:27
XMLRCFeedFormatter\formatArray
formatArray(array $packet)
Take the packet and return the formatted string.
Definition: XMLRCFeedFormatter.php:26
XMLRCFeedFormatter
Definition: XMLRCFeedFormatter.php:24