MediaWiki REL1_33
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}
static recXmlPrint( $name, $value, $indent, $attributes=[])
This method takes an array and converts it to XML.
Abstract class so there can be multiple formatters outputting the same data.
formatArray(array $packet)
Take the packet and return the formatted string.
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))