MediaWiki
REL1_24
|
Stream outputter to send data to a file via some filter program. More...
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 |
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.
DumpPipeOutput::__construct | ( | $ | command, |
$ | file = null |
||
) |
string | $command | |
string | $file |
Definition at line 1098 of file Export.php.
References $command, $file, startCommand(), and wfEscapeShellArg().
DumpPipeOutput::closeAndRename | ( | $ | newname, |
$ | open = false |
||
) |
string | $newname | |
bool | $open |
Reimplemented from DumpFileOutput.
Reimplemented in Dump7ZipOutput.
Definition at line 1142 of file Export.php.
DumpPipeOutput::closeRenameAndReopen | ( | $ | newname | ) |
string | $newname |
Reimplemented from DumpFileOutput.
Definition at line 1134 of file Export.php.
DumpPipeOutput::startCommand | ( | $ | command | ) |
DumpPipeOutput::writeCloseStream | ( | $ | string | ) |
string | $string |
Reimplemented from DumpFileOutput.
Definition at line 1111 of file Export.php.
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.