MediaWiki  REL1_22
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 1618 of file Import.php.


Constructor & Destructor Documentation


Member Function Documentation

Returns:
bool

Definition at line 1626 of file Import.php.

Referenced by __construct().

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

Definition at line 1641 of file Import.php.

Referenced by __construct().

static ImportStreamSource::newFromInterwiki ( interwiki,
page,
history = false,
templates = false,
pageLinkDepth = 0 
) [static]
Parameters:
$interwiki
$page
$historybool
$templatesbool
$pageLinkDepthint
Returns:
Status

Definition at line 1714 of file Import.php.

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

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

Definition at line 1655 of file Import.php.

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

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

Definition at line 1688 of file Import.php.

Referenced by __construct().

Returns:
string

Definition at line 1633 of file Import.php.

Referenced by __construct().


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