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

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 (ImportSource $source) |
Static Public Attributes | |
| static array | $sourceRegistrations = [] |
Private Attributes | |
| string | $mBuffer |
| int | $mPosition |
| string | $mSource |
This is a horrible hack used to keep source compatibility.
Definition at line 31 of file UploadSourceAdapter.php.
|
static |
| ImportSource | $source |
Definition at line 48 of file UploadSourceAdapter.php.
References $source, and wfRandomString().
Referenced by WikiImporter\__construct().
| UploadSourceAdapter::stream_eof | ( | ) |
Definition at line 123 of file UploadSourceAdapter.php.
| UploadSourceAdapter::stream_open | ( | $path, | |
| $mode, | |||
| $options, | |||
| & | $opened_path | ||
| ) |
| string | $path | |
| string | $mode | |
| array | $options | |
| string | $opened_path |
Definition at line 63 of file UploadSourceAdapter.php.
References $path.
| UploadSourceAdapter::stream_read | ( | $count | ) |
| int | $count |
Definition at line 80 of file UploadSourceAdapter.php.
References $count.
| UploadSourceAdapter::stream_tell | ( | ) |
| UploadSourceAdapter::stream_write | ( | $data | ) |
| UploadSourceAdapter::url_stat | ( | ) |
Definition at line 130 of file UploadSourceAdapter.php.
|
private |
Definition at line 39 of file UploadSourceAdapter.php.
|
private |
Definition at line 42 of file UploadSourceAdapter.php.
Referenced by stream_tell().
|
private |
Definition at line 36 of file UploadSourceAdapter.php.
|
static |
Definition at line 33 of file UploadSourceAdapter.php.