MediaWiki REL1_37
DumpStringOutput Class Reference
Inheritance diagram for DumpStringOutput:
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)
 

Private Attributes

string $output = ''
 

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.

References $output.

◆ write()

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

Reimplemented from DumpOutput.

Definition at line 34 of file DumpStringOutput.php.

Member Data Documentation

◆ $output

string DumpStringOutput::$output = ''
private

Definition at line 29 of file DumpStringOutput.php.

Referenced by __toString().


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