MediaWiki REL1_34
|
Used for importing XML dumps where the content of the dump is in a string. More...
Public Member Functions | |
__construct ( $string) | |
atEnd () | |
readChunk () | |
Private Attributes | |
bool | $mRead |
string | $mString |
Used for importing XML dumps where the content of the dump is in a string.
This class is ineffecient, and should only be used for small dumps. For larger dumps, ImportStreamSource should be used instead.
Definition at line 34 of file ImportStringSource.php.
ImportStringSource::__construct | ( | $string | ) |
string | $string |
Definition at line 44 of file ImportStringSource.php.
ImportStringSource::atEnd | ( | ) |
Implements ImportSource.
Definition at line 52 of file ImportStringSource.php.
References $mRead.
Referenced by readChunk().
ImportStringSource::readChunk | ( | ) |
|
private |
Definition at line 39 of file ImportStringSource.php.
Referenced by atEnd().
|
private |
Definition at line 36 of file ImportStringSource.php.
Referenced by readChunk().