|
MediaWiki
master
|


Public Member Functions | |
| __construct ($file, $cmpLevel=4) | |
| closeAndRename ($newname, $open=false) | |
| setup7zCommand ($file) | |
Public Member Functions inherited from DumpPipeOutput | |
| __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) | |
Protected Attributes | |
| int | $compressionLevel |
Protected Attributes inherited from DumpPipeOutput | |
| $command | |
| $procOpenResource = false | |
Protected Attributes inherited from DumpFileOutput | |
| $handle = false | |
Additional Inherited Members | |
Public Attributes inherited from DumpPipeOutput | |
| $filename | |
Public Attributes inherited from DumpFileOutput | |
| $filename | |
Definition at line 29 of file Dump7ZipOutput.php.
| Dump7ZipOutput::__construct | ( | $file, | |
$cmpLevel = 4 |
|||
| ) |
| string | $file | |
| int | $cmpLevel | Compression level passed to 7za command's -mx |
Definition at line 39 of file Dump7ZipOutput.php.
References DumpPipeOutput\$command, and setup7zCommand().
| Dump7ZipOutput::closeAndRename | ( | $newname, | |
$open = false |
|||
| ) |
| string | $newname | |
| bool | $open |
Definition at line 64 of file Dump7ZipOutput.php.
References DumpPipeOutput\$command, DumpFileOutput\checkRenameArgCount(), DumpFileOutput\renameOrException(), setup7zCommand(), and DumpPipeOutput\startCommand().
| Dump7ZipOutput::setup7zCommand | ( | $file | ) |
| string | $file |
Definition at line 50 of file Dump7ZipOutput.php.
References DumpPipeOutput\$command, wfEscapeShellArg(), and wfGetNull().
Referenced by __construct(), and closeAndRename().
|
protected |
Definition at line 33 of file Dump7ZipOutput.php.