MediaWiki  REL1_24
DumpPipeOutput Class Reference

Stream outputter to send data to a file via some filter program. More...

Inheritance diagram for DumpPipeOutput:
Collaboration diagram for DumpPipeOutput:

List of all members.

Public Member Functions

 __construct ($command, $file=null)
 closeAndRename ($newname, $open=false)
 closeRenameAndReopen ($newname)
 startCommand ($command)
 writeCloseStream ($string)

Public Attributes

 $filename

Protected Attributes

 $command
 $procOpenResource = false

Detailed Description

Stream outputter to send data to a file via some filter program.

Even if compression is available in a library, using a separate program can allow us to make use of a multi-processor system.

Definition at line 1090 of file Export.php.


Constructor & Destructor Documentation

DumpPipeOutput::__construct ( command,
file = null 
)
Parameters:
string$command
string$file

Definition at line 1098 of file Export.php.

References $command, $file, startCommand(), and wfEscapeShellArg().


Member Function Documentation

DumpPipeOutput::closeAndRename ( newname,
open = false 
)
Parameters:
string$newname
bool$open

Reimplemented from DumpFileOutput.

Reimplemented in Dump7ZipOutput.

Definition at line 1142 of file Export.php.

Parameters:
string$newname

Reimplemented from DumpFileOutput.

Definition at line 1134 of file Export.php.

Parameters:
string$command

Definition at line 1122 of file Export.php.

Referenced by __construct().

Parameters:
string$string

Reimplemented from DumpFileOutput.

Definition at line 1111 of file Export.php.


Member Data Documentation

DumpPipeOutput::$command [protected]

Definition at line 1091 of file Export.php.

Referenced by __construct().

DumpPipeOutput::$filename

Reimplemented from DumpFileOutput.

Definition at line 1091 of file Export.php.

DumpPipeOutput::$procOpenResource = false [protected]

Definition at line 1092 of file Export.php.


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