MediaWiki
1.28.0
|
Public Member Functions | |
__construct ($command, $file=null) | |
closeAndRename ($newname, $open=false) | |
closeRenameAndReopen ($newname) | |
startCommand ($command) | |
writeCloseStream ($string) | |
Public Member Functions inherited from DumpFileOutput | |
__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 | |
Public Attributes inherited from DumpFileOutput | |
$filename | |
Protected Attributes | |
$command | |
$procOpenResource = false | |
Protected Attributes inherited from DumpFileOutput | |
$handle = false | |
Definition at line 31 of file DumpPipeOutput.php.
DumpPipeOutput::__construct | ( | $command, | |
$file = null |
|||
) |
string | $command | |
string | $file |
Definition at line 39 of file DumpPipeOutput.php.
References $command, startCommand(), and wfEscapeShellArg().
DumpPipeOutput::closeAndRename | ( | $newname, | |
$open = false |
|||
) |
string | $newname | |
bool | $open |
Definition at line 83 of file DumpPipeOutput.php.
References $command, DumpFileOutput\checkRenameArgCount(), DumpFileOutput\renameOrException(), startCommand(), and wfEscapeShellArg().
Referenced by closeRenameAndReopen().
DumpPipeOutput::closeRenameAndReopen | ( | $newname | ) |
string | $newname |
Definition at line 75 of file DumpPipeOutput.php.
References closeAndRename().
DumpPipeOutput::startCommand | ( | $command | ) |
string | $command |
Definition at line 63 of file DumpPipeOutput.php.
References $command.
Referenced by __construct(), Dump7ZipOutput\closeAndRename(), and closeAndRename().
DumpPipeOutput::writeCloseStream | ( | $string | ) |
string | $string |
Definition at line 52 of file DumpPipeOutput.php.
|
protected |
Definition at line 32 of file DumpPipeOutput.php.
Referenced by Dump7ZipOutput\__construct(), __construct(), Dump7ZipOutput\closeAndRename(), closeAndRename(), Dump7ZipOutput\setup7zCommand(), and startCommand().
DumpPipeOutput::$filename |
Definition at line 32 of file DumpPipeOutput.php.
|
protected |
Definition at line 33 of file DumpPipeOutput.php.