|
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 | isSeekableSource (string $id) |
| static | registerSource (ImportSource $source) |
| static | seekSource (string $id, int $offset) |
Public Attributes | |
| resource null | $context |
| Must exists on stream wrapper class. | |
Static Public Attributes | |
| static ImportSource[] | $sourceRegistrations = [] |
This is a horrible hack used to keep source compatibility.
Definition at line 19 of file UploadSourceAdapter.php.
|
static |
|
static |
| ImportSource | $source |
Definition at line 39 of file UploadSourceAdapter.php.
References $source, and wfRandomString().
Referenced by MediaWiki\Import\WikiImporter\__construct().
|
static |
| string | $id | |
| int | $offset |
Definition at line 63 of file UploadSourceAdapter.php.
| MediaWiki\Import\UploadSourceAdapter::stream_eof | ( | ) |
Definition at line 141 of file UploadSourceAdapter.php.
| MediaWiki\Import\UploadSourceAdapter::stream_open | ( | $path, | |
| $mode, | |||
| $options, | |||
| & | $opened_path ) |
| string | $path | |
| string | $mode | |
| int | $options | |
| string | &$opened_path |
Definition at line 77 of file UploadSourceAdapter.php.
| MediaWiki\Import\UploadSourceAdapter::stream_read | ( | $count | ) |
| MediaWiki\Import\UploadSourceAdapter::stream_tell | ( | ) |
Definition at line 134 of file UploadSourceAdapter.php.
| MediaWiki\Import\UploadSourceAdapter::stream_write | ( | $data | ) |
| MediaWiki\Import\UploadSourceAdapter::url_stat | ( | ) |
Definition at line 148 of file UploadSourceAdapter.php.
| resource null MediaWiki\Import\UploadSourceAdapter::$context |
Must exists on stream wrapper class.
Definition at line 24 of file UploadSourceAdapter.php.
|
static |
Definition at line 21 of file UploadSourceAdapter.php.