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


Member Function Documentation

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

Definition at line 894 of file Import.php.

References $source, and wfRandomString().

Referenced by WikiImporter\__construct().

Returns:
bool

Definition at line 969 of file Import.php.

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

Definition at line 909 of file Import.php.

References $path.

Parameters:
$count
Returns:
string

Definition at line 926 of file Import.php.

References $count.

Returns:
mixed

Definition at line 962 of file Import.php.

Parameters:
$data
Returns:
bool

Definition at line 955 of file Import.php.

Returns:
array

Definition at line 976 of file Import.php.

References $result, and array().


Member Data Documentation

UploadSourceAdapter::$mBuffer [private]

Definition at line 887 of file Import.php.

UploadSourceAdapter::$mPosition [private]

Definition at line 888 of file Import.php.

UploadSourceAdapter::$mSource [private]

Definition at line 886 of file Import.php.

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

Definition at line 884 of file Import.php.


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