MediaWiki  1.23.2
Dump7ZipOutput Class Reference

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

Inheritance diagram for Dump7ZipOutput:
Collaboration diagram for Dump7ZipOutput:

Public Member Functions

 __construct ( $file)
 
 closeAndRename ( $newname, $open=false)
 
 setup7zCommand ( $file)
 
- Public Member Functions inherited from DumpPipeOutput
 __construct ( $command, $file=null)
 
 closeRenameAndReopen ( $newname)
 
 startCommand ( $command)
 
 writeCloseStream ( $string)
 
- Public Member Functions inherited from DumpFileOutput
 checkRenameArgCount ( $newname)
 
 getFilenames ()
 
 renameOrException ( $newname)
 
 write ( $string)
 
- Public Member Functions inherited from DumpOutput
 writeClosePage ( $string)
 
 writeLogItem ( $rev, $string)
 
 writeOpenPage ( $page, $string)
 
 writeOpenStream ( $string)
 
 writeRevision ( $rev, $string)
 

Additional Inherited Members

- Public Attributes inherited from DumpPipeOutput
 $filename
 
- Public Attributes inherited from DumpFileOutput
 $filename
 
- Protected Attributes inherited from DumpPipeOutput
 $command
 
 $procOpenResource = false
 
- Protected Attributes inherited from DumpFileOutput
 $handle = false
 

Detailed Description

Sends dump output via the p7zip compressor.

Definition at line 1181 of file Export.php.

Constructor & Destructor Documentation

◆ __construct()

Dump7ZipOutput::__construct (   $file)
Parameters
$filestring

Reimplemented from DumpFileOutput.

Definition at line 1186 of file Export.php.

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

Member Function Documentation

◆ closeAndRename()

Dump7ZipOutput::closeAndRename (   $newname,
  $open = false 
)
Parameters
$newnamestring
$openbool

Reimplemented from DumpPipeOutput.

Definition at line 1208 of file Export.php.

References DumpPipeOutput\$command, DumpFileOutput\checkRenameArgCount(), DumpFileOutput\renameOrException(), setup7zCommand(), and DumpPipeOutput\startCommand().

◆ setup7zCommand()

Dump7ZipOutput::setup7zCommand (   $file)
Parameters
$filestring
Returns
string

Definition at line 1196 of file Export.php.

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

Referenced by __construct(), and closeAndRename().


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