MediaWiki  REL1_19
Dump7ZipOutput Class Reference

Sends dump output via the p7zip compressor. More...

Inheritance diagram for Dump7ZipOutput:
Collaboration diagram for Dump7ZipOutput:

List of all members.

Public Member Functions

 __construct ($file)
 closeAndRename ($newname, $open=false)
 Close the old file, and move it to a specified name.
 setup7zCommand ($file)

Detailed Description

Sends dump output via the p7zip compressor.

Definition at line 907 of file Export.php.


Constructor & Destructor Documentation

Reimplemented from DumpFileOutput.

Definition at line 908 of file Export.php.

References DumpPipeOutput\$command, $file, and setup7zCommand().

Here is the call graph for this function:


Member Function Documentation

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).

Parameters:
$newnamemixed File name. May be a string or an array with one element
$openbool 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().

Here is the call graph for this function:

Definition at line 914 of file Export.php.

References DumpPipeOutput\$command, $file, wfEscapeShellArg(), and wfGetNull().

Referenced by __construct(), and closeAndRename().

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file: