MediaWiki
1.23.2
|
Stream outputter to send data to a file. More...
Public Member Functions | |
__construct ( $file) | |
checkRenameArgCount ( $newname) | |
closeAndRename ( $newname, $open=false) | |
closeRenameAndReopen ( $newname) | |
getFilenames () | |
renameOrException ( $newname) | |
write ( $string) | |
writeCloseStream ( $string) | |
Public Member Functions inherited from DumpOutput | |
writeClosePage ( $string) | |
writeLogItem ( $rev, $string) | |
writeOpenPage ( $page, $string) | |
writeOpenStream ( $string) | |
writeRevision ( $rev, $string) | |
Public Attributes | |
$filename | |
Protected Attributes | |
$handle = false | |
Stream outputter to send data to a file.
Definition at line 981 of file Export.php.
DumpFileOutput::__construct | ( | $file | ) |
$file |
Reimplemented in Dump7ZipOutput, DumpBZip2Output, DumpGZipOutput, and DumpDBZip2Output.
Definition at line 987 of file Export.php.
References $file.
DumpFileOutput::checkRenameArgCount | ( | $newname | ) |
$newname | array |
MWException |
Definition at line 1032 of file Export.php.
Referenced by closeAndRename(), DumpPipeOutput\closeAndRename(), and Dump7ZipOutput\closeAndRename().
DumpFileOutput::closeAndRename | ( | $newname, | |
$open = false |
|||
) |
$newname | mixed |
$open | bool |
Reimplemented from DumpOutput.
Reimplemented in Dump7ZipOutput, and DumpPipeOutput.
Definition at line 1047 of file Export.php.
References checkRenameArgCount(), and renameOrException().
Referenced by closeRenameAndReopen().
DumpFileOutput::closeRenameAndReopen | ( | $newname | ) |
$newname |
Reimplemented from DumpOutput.
Reimplemented in DumpPipeOutput.
Definition at line 1013 of file Export.php.
References closeAndRename().
DumpFileOutput::getFilenames | ( | ) |
Reimplemented from DumpOutput.
Definition at line 1064 of file Export.php.
References $filename.
DumpFileOutput::renameOrException | ( | $newname | ) |
$newname |
MWException |
Definition at line 1021 of file Export.php.
Referenced by closeAndRename(), DumpPipeOutput\closeAndRename(), and Dump7ZipOutput\closeAndRename().
DumpFileOutput::write | ( | $string | ) |
DumpFileOutput::writeCloseStream | ( | $string | ) |
$string | string |
Reimplemented from DumpOutput.
Reimplemented in DumpPipeOutput.
Definition at line 995 of file Export.php.
DumpFileOutput::$filename |
Definition at line 982 of file Export.php.
Referenced by getFilenames().
|
protected |
Definition at line 982 of file Export.php.