MediaWiki master
MediaWiki\Export\DumpStringOutput Class Reference

Inherits MediaWiki\Export\DumpOutput, and Stringable.

Collaboration diagram for MediaWiki\Export\DumpStringOutput:

Public Member Functions

 __toString ()
 Get the string containing the output.
 
 write ( $string)
 
- Public Member Functions inherited from MediaWiki\Export\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 17 of file DumpStringOutput.php.

Member Function Documentation

◆ __toString()

MediaWiki\Export\DumpStringOutput::__toString ( )

Get the string containing the output.

Returns
string

Definition at line 33 of file DumpStringOutput.php.

◆ write()

MediaWiki\Export\DumpStringOutput::write ( $string)
Parameters
string$string

Reimplemented from MediaWiki\Export\DumpOutput.

Definition at line 24 of file DumpStringOutput.php.


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