MediaWiki
1.28.0
|
Public Member Functions | |
__construct ($file) | |
checkRenameArgCount ($newname) | |
closeAndRename ($newname, $open=false) | |
closeRenameAndReopen ($newname) | |
getFilenames () | |
renameOrException ($newname) | |
write ($string) | |
writeCloseStream ($string) | |
Public Member Functions inherited from DumpOutput | |
closeAndRename ($newname, $open=false) | |
Close the old file, and move it to a specified name. More... | |
closeRenameAndReopen ($newname) | |
Close the old file, move it to a specified name, and reopen new file with the old name. More... | |
getFilenames () | |
Returns the name of the file or files which are being written to, if there are any. More... | |
write ($string) | |
Override to write to a different stream type. More... | |
writeClosePage ($string) | |
writeCloseStream ($string) | |
writeLogItem ($rev, $string) | |
writeOpenPage ($page, $string) | |
writeOpenStream ($string) | |
writeRevision ($rev, $string) | |
Public Attributes | |
$filename | |
Protected Attributes | |
$handle = false | |
Definition at line 29 of file DumpFileOutput.php.
DumpFileOutput::__construct | ( | $file | ) |
string | $file |
Definition at line 35 of file DumpFileOutput.php.
DumpFileOutput::checkRenameArgCount | ( | $newname | ) |
array | $newname |
MWException |
Definition at line 80 of file DumpFileOutput.php.
Referenced by Dump7ZipOutput\closeAndRename(), DumpPipeOutput\closeAndRename(), and closeAndRename().
DumpFileOutput::closeAndRename | ( | $newname, | |
$open = false |
|||
) |
string | $newname | |
bool | $open |
Definition at line 95 of file DumpFileOutput.php.
References checkRenameArgCount(), and renameOrException().
Referenced by closeRenameAndReopen().
DumpFileOutput::closeRenameAndReopen | ( | $newname | ) |
string | $newname |
Definition at line 61 of file DumpFileOutput.php.
References closeAndRename().
DumpFileOutput::getFilenames | ( | ) |
DumpFileOutput::renameOrException | ( | $newname | ) |
string | $newname |
MWException |
Definition at line 69 of file DumpFileOutput.php.
Referenced by Dump7ZipOutput\closeAndRename(), DumpPipeOutput\closeAndRename(), and closeAndRename().
DumpFileOutput::write | ( | $string | ) |
string | $string |
Definition at line 54 of file DumpFileOutput.php.
DumpFileOutput::writeCloseStream | ( | $string | ) |
string | $string |
Definition at line 43 of file DumpFileOutput.php.
DumpFileOutput::$filename |
Definition at line 30 of file DumpFileOutput.php.
Referenced by getFilenames().
|
protected |
Definition at line 30 of file DumpFileOutput.php.