MediaWiki  1.28.0
DumpStringOutput Class Reference
Inheritance diagram for DumpStringOutput:
Collaboration diagram for DumpStringOutput:

Public Member Functions

 __toString ()
 Get the string containing the output. More...
 
 write ($string)
 
- Public Member Functions inherited from DumpOutput
 closeAndRename ($newname, $open=false)
 Close the old file, and move it to a specified name. More...
 
 closeRenameAndReopen ($newname)
 Close the old file, move it to a specified name, and reopen new file with the old name. More...
 
 getFilenames ()
 Returns the name of the file or files which are being written to, if there are any. More...
 
 write ($string)
 Override to write to a different stream type. More...
 
 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

DumpStringOutput::__toString ( )

Get the string containing the output.

Returns
string

Definition at line 42 of file DumpStringOutput.php.

References $output.

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

Definition at line 33 of file DumpStringOutput.php.

References output().

Member Data Documentation

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: