MediaWiki REL1_28
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.

References $count.

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.

References $count.

◆ writeClosePage()

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

Definition at line 70 of file DumpMultiWriter.php.

References $count.

◆ writeCloseStream()

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

Definition at line 51 of file DumpMultiWriter.php.

References $count.

◆ writeOpenPage()

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

Definition at line 61 of file DumpMultiWriter.php.

References $count, and $page.

◆ writeOpenStream()

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

Definition at line 42 of file DumpMultiWriter.php.

References $count.

◆ writeRevision()

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

Definition at line 80 of file DumpMultiWriter.php.

References $count, and $rev.


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