MediaWiki  1.34.0
DumpDBZip2Output Class Reference
Inheritance diagram for DumpDBZip2Output:
Collaboration diagram for DumpDBZip2Output:

Public Member Functions

 __construct ( $file)
 
- Public Member Functions inherited from DumpPipeOutput
 __construct ( $command, $file=null)
 
 closeAndRename ( $newname, $open=false)
 Close the old file, and move it to a specified name.Use this for the last piece of a file written out at specified checkpoints (e.g. every n hours).

Parameters
string | string[]$newnameFile name. May be a string or an array with one element
bool$openIf true, a new file with the old filename will be opened again for writing (default: false)
More...
 
 closeRenameAndReopen ( $newname)
 Close the old file, move it to a specified name, and reopen new file with the old name.Use this for writing out a file in multiple pieces at specified checkpoints (e.g. every n hours).

Parameters
string | string[]$newnameFile name. May be a string or an array with one element
More...
 
 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
 
- Protected Attributes inherited from DumpPipeOutput
 $command
 
resource bool $procOpenResource = false
 
- Protected Attributes inherited from DumpFileOutput
string $filename
 
resource false $handle = false
 

Detailed Description

Definition at line 29 of file DumpDBZip2Output.php.

Constructor & Destructor Documentation

◆ __construct()

DumpDBZip2Output::__construct (   $file)
Parameters
string$file

Reimplemented from DumpFileOutput.

Definition at line 33 of file DumpDBZip2Output.php.

References $file.


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