MediaWiki  REL1_20
UploadSourceAdapter Class Reference

This is a horrible hack used to keep source compatibility. More...

List of all members.

Public Member Functions

 stream_eof ()
 stream_open ($path, $mode, $options, &$opened_path)
 stream_read ($count)
 stream_tell ()
 stream_write ($data)
 url_stat ()

Static Public Member Functions

static registerSource ($source)

Static Public Attributes

static $sourceRegistrations = array()

Private Attributes

 $mBuffer
 $mPosition
 $mSource

Detailed Description

This is a horrible hack used to keep source compatibility.

Definition at line 865 of file Import.php.


Member Function Documentation

static UploadSourceAdapter::registerSource ( source) [static]
Parameters:
$source
Returns:
string

Definition at line 876 of file Import.php.

References $source, and wfRandomString().

Referenced by WikiImporter\__construct().

Returns:
bool

Definition at line 951 of file Import.php.

UploadSourceAdapter::stream_open ( path,
mode,
options,
&$  opened_path 
)
Parameters:
$path
$mode
$options
$opened_path
Returns:
bool

Definition at line 891 of file Import.php.

References $path, and $url.

Parameters:
$count
Returns:
string

Definition at line 908 of file Import.php.

References $count.

Returns:
mixed

Definition at line 944 of file Import.php.

Parameters:
$data
Returns:
bool

Definition at line 937 of file Import.php.

Returns:
array

Definition at line 958 of file Import.php.

References $result.


Member Data Documentation

UploadSourceAdapter::$mBuffer [private]

Definition at line 869 of file Import.php.

UploadSourceAdapter::$mPosition [private]

Definition at line 870 of file Import.php.

UploadSourceAdapter::$mSource [private]

Definition at line 868 of file Import.php.

UploadSourceAdapter::$sourceRegistrations = array() [static]

Definition at line 866 of file Import.php.


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