MediaWiki  REL1_20
DumpFileOutput Class Reference

Stream outputter to send data to a file. More...

Inheritance diagram for DumpFileOutput:
Collaboration diagram for DumpFileOutput:

List of all members.

Public Member Functions

 __construct ($file)
 checkRenameArgCount ($newname)
 closeAndRename ($newname, $open=false)
 closeRenameAndReopen ($newname)
 getFilenames ()
 renameOrException ($newname)
 write ($string)
 writeCloseStream ($string)

Public Attributes

 $filename

Protected Attributes

 $handle = false

Detailed Description

Stream outputter to send data to a file.

Definition at line 948 of file Export.php.


Constructor & Destructor Documentation

Parameters:
$file

Reimplemented in Dump7ZipOutput, DumpBZip2Output, DumpGZipOutput, and DumpDBZip2Output.

Definition at line 954 of file Export.php.


Member Function Documentation

Parameters:
$newnamearray
Returns:
mixed
Exceptions:
MWException

Definition at line 999 of file Export.php.

DumpFileOutput::closeAndRename ( newname,
open = false 
)
Parameters:
$newnamemixed
$openbool

Reimplemented from DumpOutput.

Reimplemented in Dump7ZipOutput, and DumpPipeOutput.

Definition at line 1014 of file Export.php.

Parameters:
$newname

Reimplemented from DumpOutput.

Reimplemented in DumpPipeOutput.

Definition at line 980 of file Export.php.

Returns:
string|null

Reimplemented from DumpOutput.

Definition at line 1031 of file Export.php.

Parameters:
$newname
Exceptions:
MWException

Definition at line 988 of file Export.php.

DumpFileOutput::write ( string)
Parameters:
$stringstring

Reimplemented from DumpOutput.

Definition at line 973 of file Export.php.

Parameters:
$stringstring

Reimplemented from DumpOutput.

Reimplemented in DumpPipeOutput.

Definition at line 962 of file Export.php.


Member Data Documentation

DumpFileOutput::$filename

Reimplemented in DumpPipeOutput.

Definition at line 949 of file Export.php.

DumpFileOutput::$handle = false [protected]

Definition at line 949 of file Export.php.


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