MediaWiki  REL1_19
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 824 of file Import.php.


Member Function Documentation

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

Definition at line 835 of file Import.php.

References wfGenerateToken().

Referenced by WikiImporter\__construct().

Here is the call graph for this function:

Here is the caller graph for this function:

Returns:
bool

Definition at line 910 of file Import.php.

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

Definition at line 850 of file Import.php.

References $path, and $url.

Parameters:
$count
Returns:
string

Definition at line 867 of file Import.php.

References $count.

Returns:
mixed

Definition at line 903 of file Import.php.

Parameters:
$data
Returns:
bool

Definition at line 896 of file Import.php.

Returns:
array

Definition at line 917 of file Import.php.

References $result.


Member Data Documentation

UploadSourceAdapter::$mBuffer [private]

Definition at line 828 of file Import.php.

UploadSourceAdapter::$mPosition [private]

Definition at line 829 of file Import.php.

UploadSourceAdapter::$mSource [private]

Definition at line 827 of file Import.php.

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

Definition at line 825 of file Import.php.


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