MediaWiki REL1_32
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

 $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 42 of file DumpStringOutput.php.

References $output.

◆ write()

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

Reimplemented from DumpOutput.

Definition at line 33 of file DumpStringOutput.php.

Member Data Documentation

◆ $output

DumpStringOutput::$output = ''
private

Definition at line 28 of file DumpStringOutput.php.

Referenced by __toString().


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