MediaWiki REL1_39
|
Public Member Functions | |
__construct (SiteStore $store) | |
getExceptionCallback () | |
importFromFile ( $file) | |
importFromXML ( $xml) | |
makeSite (DOMElement $siteElement) | |
setExceptionCallback ( $exceptionCallback) | |
Definition at line 32 of file SiteImporter.php.
SiteImporter::__construct | ( | SiteStore | $store | ) |
SiteStore | $store |
Definition at line 47 of file SiteImporter.php.
SiteImporter::getExceptionCallback | ( | ) |
Definition at line 54 of file SiteImporter.php.
SiteImporter::importFromFile | ( | $file | ) |
string | $file |
Definition at line 68 of file SiteImporter.php.
References $file, and importFromXML().
SiteImporter::importFromXML | ( | $xml | ) |
string | $xml |
InvalidArgumentException |
Definition at line 83 of file SiteImporter.php.
Referenced by importFromFile().
SiteImporter::makeSite | ( | DOMElement | $siteElement | ) |
DOMElement | $siteElement |
InvalidArgumentException |
Definition at line 165 of file SiteImporter.php.
References $path, $type, Site\GROUP_NONE, Site\newForType(), Site\SOURCE_LOCAL, and Site\TYPE_UNKNOWN.
SiteImporter::setExceptionCallback | ( | $exceptionCallback | ) |
callable | $exceptionCallback |
Definition at line 61 of file SiteImporter.php.