|
MediaWiki master
|
Used for importing XML dumps where the content of the dump is in a string. More...
Inherits ImportSource.

Public Member Functions | |
| __construct ( $string) | |
| atEnd () | |
| isSeekable () | |
| readChunk () | |
| seek (int $offset) | |
Used for importing XML dumps where the content of the dump is in a string.
This class is inefficient, and should only be used for small dumps. For larger dumps, ImportStreamSource should be used instead.
Definition at line 20 of file ImportStringSource.php.
| ImportStringSource::__construct | ( | $string | ) |
| string | $string |
Definition at line 30 of file ImportStringSource.php.
| ImportStringSource::atEnd | ( | ) |
Implements ImportSource.
Definition at line 37 of file ImportStringSource.php.
Referenced by readChunk().
| ImportStringSource::isSeekable | ( | ) |
| ImportStringSource::readChunk | ( | ) |
Implements ImportSource.
Definition at line 44 of file ImportStringSource.php.
References atEnd().
| ImportStringSource::seek | ( | int | $offset | ) |
| int | $offset |
Implements ImportSource.
Definition at line 63 of file ImportStringSource.php.