MediaWiki master
DumpStringOutput Class Reference

Inherits DumpOutput.

Collaboration diagram for DumpStringOutput:

Public Member Functions

 __toString ()
 Get the string containing the output.
 
 write ( $string)
 
- Public Member Functions inherited from DumpOutput
 closeAndRename ( $newname, $open=false)
 Close the old file, and move it to a specified name.
 
 closeRenameAndReopen ( $newname)
 Close the old file, move it to a specified name, and reopen new file with the old name.
 
 getFilenames ()
 Returns the name of the file or files which are being written to, if there are any.
 
 writeClosePage ( $string)
 
 writeCloseStream ( $string)
 
 writeLogItem ( $rev, $string)
 
 writeOpenPage ( $page, $string)
 
 writeOpenStream ( $string)
 
 writeRevision ( $rev, $string)
 

Detailed Description

Since
1.28

Definition at line 27 of file DumpStringOutput.php.

Member Function Documentation

◆ __toString()

DumpStringOutput::__toString ( )

Get the string containing the output.

Returns
string

Definition at line 43 of file DumpStringOutput.php.

◆ write()

DumpStringOutput::write ( $string)
Parameters
string$string

Reimplemented from DumpOutput.

Definition at line 34 of file DumpStringOutput.php.


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