MediaWiki REL1_31
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 34 of file DumpMultiWriter.php.

Member Function Documentation

◆ closeAndRename()

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

Definition at line 97 of file DumpMultiWriter.php.

Referenced by closeRenameAndReopen().

◆ closeRenameAndReopen()

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

Definition at line 89 of file DumpMultiWriter.php.

References closeAndRename().

◆ getFilenames()

DumpMultiWriter::getFilenames ( )
Returns
array

Definition at line 106 of file DumpMultiWriter.php.

◆ writeClosePage()

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

Definition at line 70 of file DumpMultiWriter.php.

◆ writeCloseStream()

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

Definition at line 51 of file DumpMultiWriter.php.

◆ writeOpenPage()

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

Definition at line 61 of file DumpMultiWriter.php.

◆ writeOpenStream()

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

Definition at line 42 of file DumpMultiWriter.php.

◆ writeRevision()

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

Definition at line 80 of file DumpMultiWriter.php.

References $rev.


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