Public Member Functions | |
__construct ($handle) | |
atEnd () | |
readChunk () | |
Static Public Member Functions | |
static | newFromFile ($filename) |
static | newFromUpload ($fieldname="xmlimport") |
static | newFromURL ($url, $method= 'GET') |
static | newFromInterwiki ($interwiki, $page, $history=false, $templates=false, $pageLinkDepth=0) |
Definition at line 1052 of file Import.php.
ImportStreamSource::__construct | ( | $ | handle | ) |
Definition at line 1053 of file Import.php.
ImportStreamSource::atEnd | ( | ) |
Definition at line 1057 of file Import.php.
static ImportStreamSource::newFromFile | ( | $ | filename | ) | [static] |
Definition at line 1065 of file Import.php.
References $file, and $filename.
Referenced by newFromUpload().
static ImportStreamSource::newFromInterwiki | ( | $ | interwiki, | |
$ | page, | |||
$ | history = false , |
|||
$ | templates = false , |
|||
$ | pageLinkDepth = 0 | |||
) | [static] |
Definition at line 1119 of file Import.php.
References $page, $url, Title::newFromText(), and newFromURL().
Referenced by SpecialImport::doImport(), and ApiImport::execute().
static ImportStreamSource::newFromUpload | ( | $ | fieldname = "xmlimport" |
) | [static] |
Definition at line 1073 of file Import.php.
References $fname, and newFromFile().
Referenced by SpecialImport::doImport(), and ApiImport::execute().
static ImportStreamSource::newFromURL | ( | $ | url, | |
$ | method = 'GET' | |||
) | [static] |
Definition at line 1101 of file Import.php.
References $file, $method, $url, Http::request(), and wfDebug().
Referenced by newFromInterwiki().
ImportStreamSource::readChunk | ( | ) |
Definition at line 1061 of file Import.php.