MediaWiki  REL1_24
ImportStreamSource Class Reference

List of all members.

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')

Detailed Description

Todo:
document (e.g.

one-sentence class description).

Definition at line 1649 of file Import.php.


Constructor & Destructor Documentation

Definition at line 1650 of file Import.php.


Member Function Documentation

Returns:
bool

Definition at line 1657 of file Import.php.

References ImportStringSource\atEnd().

static ImportStreamSource::newFromFile ( filename) [static]
Parameters:
string$filename
Returns:
Status

Definition at line 1672 of file Import.php.

Referenced by ImportTest\getInputStreamSource().

static ImportStreamSource::newFromInterwiki ( interwiki,
page,
history = false,
templates = false,
pageLinkDepth = 0 
) [static]
Parameters:
string$interwiki
string$page
bool$history
bool$templates
int$pageLinkDepth
Returns:
Status

Definition at line 1750 of file Import.php.

Referenced by SpecialImport\doImport(), and ApiImport\execute().

static ImportStreamSource::newFromUpload ( fieldname = "xmlimport") [static]
Parameters:
string$fieldname
Returns:
Status

Definition at line 1686 of file Import.php.

Referenced by SpecialImport\doImport(), and ApiImport\execute().

static ImportStreamSource::newFromURL ( url,
method = 'GET' 
) [static]
Parameters:
string$url
string$method
Returns:
Status

Definition at line 1724 of file Import.php.

Returns:
string

Definition at line 1664 of file Import.php.


The documentation for this class was generated from the following file: