MediaWiki master
DumpMultiWriter Class Reference

Public Member Functions

 __construct ( $sinks)
 
 closeAndRename ( $newnames, $open=false)
 
 closeRenameAndReopen ( $newnames)
 
 getFilenames ()
 
 writeClosePage ( $string)
 
 writeCloseStream ( $string)
 
 writeOpenPage ( $page, $string)
 
 writeOpenStream ( $string)
 
 writeRevision ( $rev, $string)
 

Detailed Description

Definition at line 29 of file DumpMultiWriter.php.

Constructor & Destructor Documentation

◆ __construct()

DumpMultiWriter::__construct ( $sinks)
Parameters
array$sinks

Definition at line 38 of file DumpMultiWriter.php.

Member Function Documentation

◆ closeAndRename()

DumpMultiWriter::closeAndRename ( $newnames,
$open = false )
Parameters
array$newnames
bool$open

Definition at line 101 of file DumpMultiWriter.php.

Referenced by closeRenameAndReopen().

◆ closeRenameAndReopen()

DumpMultiWriter::closeRenameAndReopen ( $newnames)
Parameters
array$newnames

Definition at line 93 of file DumpMultiWriter.php.

References closeAndRename().

◆ getFilenames()

DumpMultiWriter::getFilenames ( )
Returns
array

Definition at line 110 of file DumpMultiWriter.php.

◆ writeClosePage()

DumpMultiWriter::writeClosePage ( $string)
Parameters
string$string

Definition at line 74 of file DumpMultiWriter.php.

◆ writeCloseStream()

DumpMultiWriter::writeCloseStream ( $string)
Parameters
string$string

Definition at line 55 of file DumpMultiWriter.php.

◆ writeOpenPage()

DumpMultiWriter::writeOpenPage ( $page,
$string )
Parameters
stdClass$page
string$string

Definition at line 65 of file DumpMultiWriter.php.

◆ writeOpenStream()

DumpMultiWriter::writeOpenStream ( $string)
Parameters
string$string

Definition at line 46 of file DumpMultiWriter.php.

◆ writeRevision()

DumpMultiWriter::writeRevision ( $rev,
$string )
Parameters
stdClass$rev
string$string

Definition at line 84 of file DumpMultiWriter.php.


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