MediaWiki
1.30.0
|
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. More... | |
Private Member Functions | |
exportSite (Site $site) | |
Writes a <site> tag representing the given Site object. More... | |
Private Attributes | |
resource | $sink |
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.
References $sink.
|
private |
Writes a <site> tag representing the given Site object.
Site | $site |
Definition at line 75 of file SiteExporter.php.
References $path, $type, as, Xml\closeElement(), Xml\element(), Site\getAllPaths(), Site\getGlobalId(), Site\getGroup(), Site\getLocalIds(), Site\getSource(), Site\getType(), Site\GROUP_NONE, Xml\openElement(), Site\shouldForward(), Site\SOURCE_LOCAL, and Site\TYPE_UNKNOWN.
Referenced by exportSites().
SiteExporter::exportSites | ( | $sites | ) |
Writes a <site> tag for each Site object in $sites, and encloses the entire list between <sites> tags.
Definition at line 54 of file SiteExporter.php.
References as, Xml\closeElement(), exportSite(), and Xml\openElement().
|
private |
Definition at line 35 of file SiteExporter.php.
Referenced by __construct().