MediaWiki REL1_41
|
Utility for exporting site entries to XML. More...
Public Member Functions | |
__construct ( $sink) | |
exportSites ( $sites) | |
Writes a <site> tag for each Site object in $sites, and encloses the entire list between <sites> tags. | |
Utility for exporting site entries to XML.
For the output file format, see docs/sitelist.md and docs/sitelist-1.0.xsd.
Definition at line 30 of file SiteExporter.php.
SiteExporter::__construct | ( | $sink | ) |
resource | $sink | A file handle open for writing |
Definition at line 40 of file SiteExporter.php.
SiteExporter::exportSites | ( | $sites | ) |
Writes a <site> tag for each Site object in $sites, and encloses the entire list between <sites> tags.
Definition at line 55 of file SiteExporter.php.