|
MediaWiki
REL1_23
|
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 1631 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 1653 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 1726 of file Import.php.
Referenced by __construct(), SpecialImport\doImport(), and ApiImport\execute().
| static ImportStreamSource::newFromUpload | ( | $ | fieldname = "xmlimport" | ) | [static] |
| $fieldname | string |
Definition at line 1667 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 1700 of file Import.php.
Referenced by __construct().