|
MediaWiki
REL1_19
|
Sends dump output via the p7zip compressor. More...


Public Member Functions | |
| __construct ($file) | |
| closeAndRename ($newname, $open=false) | |
| Close the old file, and move it to a specified name. | |
| setup7zCommand ($file) | |
Sends dump output via the p7zip compressor.
Definition at line 907 of file Export.php.
| Dump7ZipOutput::__construct | ( | $ | file | ) |
Reimplemented from DumpFileOutput.
Definition at line 908 of file Export.php.
References DumpPipeOutput\$command, $file, and setup7zCommand().

| Dump7ZipOutput::closeAndRename | ( | $ | newname, |
| $ | open = false |
||
| ) |
Close the old file, and move it to a specified name.
Use this for the last piece of a file written out at specified checkpoints (e.g. every n hours).
| $newname | mixed File name. May be a string or an array with one element |
| $open | bool If true, a new file with the old filename will be opened again for writing (default: false) |
Reimplemented from DumpPipeOutput.
Definition at line 922 of file Export.php.
References DumpPipeOutput\$command, DumpFileOutput\checkRenameArgCount(), DumpFileOutput\renameOrException(), setup7zCommand(), and DumpPipeOutput\startCommand().

| Dump7ZipOutput::setup7zCommand | ( | $ | file | ) |
Definition at line 914 of file Export.php.
References DumpPipeOutput\$command, $file, wfEscapeShellArg(), and wfGetNull().
Referenced by __construct(), and closeAndRename().

