MediaWiki
1.23.2
|
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 Member Functions inherited from DumpFileOutput | |
__construct ( $file) | |
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) | |
Public Attributes | |
$filename | |
Public Attributes inherited from DumpFileOutput | |
$filename | |
Protected Attributes | |
$command | |
$procOpenResource = false | |
Protected Attributes inherited from DumpFileOutput | |
$handle = 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 1075 of file Export.php.
DumpPipeOutput::__construct | ( | $command, | |
$file = null |
|||
) |
$command | |
$file | null |
Definition at line 1083 of file Export.php.
References $command, $file, startCommand(), and wfEscapeShellArg().
DumpPipeOutput::closeAndRename | ( | $newname, | |
$open = false |
|||
) |
$newname | mixed |
$open | bool |
Reimplemented from DumpFileOutput.
Reimplemented in Dump7ZipOutput.
Definition at line 1127 of file Export.php.
References $command, DumpFileOutput\checkRenameArgCount(), DumpFileOutput\renameOrException(), startCommand(), and wfEscapeShellArg().
Referenced by closeRenameAndReopen().
DumpPipeOutput::closeRenameAndReopen | ( | $newname | ) |
mixed | $newname |
Reimplemented from DumpFileOutput.
Definition at line 1119 of file Export.php.
References closeAndRename().
DumpPipeOutput::startCommand | ( | $command | ) |
$command |
Definition at line 1107 of file Export.php.
References $command, and array().
Referenced by __construct(), closeAndRename(), and Dump7ZipOutput\closeAndRename().
DumpPipeOutput::writeCloseStream | ( | $string | ) |
$string | string |
Reimplemented from DumpFileOutput.
Definition at line 1096 of file Export.php.
|
protected |
Definition at line 1076 of file Export.php.
Referenced by __construct(), Dump7ZipOutput\__construct(), closeAndRename(), Dump7ZipOutput\closeAndRename(), Dump7ZipOutput\setup7zCommand(), and startCommand().
DumpPipeOutput::$filename |
Definition at line 1076 of file Export.php.
|
protected |
Definition at line 1077 of file Export.php.