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)
 

Private Attributes

int $count
 
array $sinks
 

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.

References $sinks.

Member Function Documentation

◆ closeAndRename()

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

Definition at line 101 of file DumpMultiWriter.php.

References $count.

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.

References $count.

◆ writeClosePage()

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

Definition at line 74 of file DumpMultiWriter.php.

References $count.

◆ writeCloseStream()

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

Definition at line 55 of file DumpMultiWriter.php.

References $count.

◆ writeOpenPage()

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

Definition at line 65 of file DumpMultiWriter.php.

References $count.

◆ writeOpenStream()

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

Definition at line 46 of file DumpMultiWriter.php.

References $count.

◆ writeRevision()

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

Definition at line 84 of file DumpMultiWriter.php.

References $count.

Member Data Documentation

◆ $count

int DumpMultiWriter::$count
private

◆ $sinks

array DumpMultiWriter::$sinks
private

Definition at line 31 of file DumpMultiWriter.php.

Referenced by __construct().


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