ImportStreamSource Class Reference
[SpecialPage]

List of all members.

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)


Detailed Description

Todo:
document (e.g. one-sentence class description).

Definition at line 1052 of file Import.php.


Constructor & Destructor Documentation

ImportStreamSource::__construct ( handle  ) 

Definition at line 1053 of file Import.php.


Member Function Documentation

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.


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

Generated on Sat Sep 5 02:08:39 2009 for MediaWiki by  doxygen 1.5.9