MediaWiki
REL1_22
|
Public Member Functions | |
__construct ($handle) | |
atEnd () | |
readChunk () | |
Static Public Member Functions | |
static | newFromFile ($filename) |
static | newFromInterwiki ($interwiki, $page, $history=false, $templates=false, $pageLinkDepth=0) |
static | newFromUpload ($fieldname="xmlimport") |
static | newFromURL ($url, $method= 'GET') |
ImportStreamSource::__construct | ( | $ | handle | ) |
Definition at line 1619 of file Import.php.
References $file, $fname, $link, $params, $upload, array(), atEnd(), empty, file, form, in, Status\newFatal(), newFromFile(), newFromInterwiki(), Title\newFromText(), newFromUpload(), newFromURL(), Status\newGood(), only, php, readChunk(), request, that, was, wfDebug(), wfRestoreWarnings(), and wfSuppressWarnings().
static ImportStreamSource::newFromFile | ( | $ | filename | ) | [static] |
$filename | string |
Definition at line 1641 of file Import.php.
Referenced by __construct().
static ImportStreamSource::newFromInterwiki | ( | $ | interwiki, |
$ | page, | ||
$ | history = false , |
||
$ | templates = false , |
||
$ | pageLinkDepth = 0 |
||
) | [static] |
$interwiki | |
$page | |
$history | bool |
$templates | bool |
$pageLinkDepth | int |
Definition at line 1714 of file Import.php.
Referenced by __construct(), SpecialImport\doImport(), and ApiImport\execute().
static ImportStreamSource::newFromUpload | ( | $ | fieldname = "xmlimport" | ) | [static] |
$fieldname | string |
Definition at line 1655 of file Import.php.
Referenced by __construct(), SpecialImport\doImport(), and ApiImport\execute().
static ImportStreamSource::newFromURL | ( | $ | url, |
$ | method = 'GET' |
||
) | [static] |
$url | |
$method | string |
Definition at line 1688 of file Import.php.
Referenced by __construct().