MediaWiki  REL1_22
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 976 of file Export.php.


Constructor & Destructor Documentation

Parameters:
$file

Reimplemented in Dump7ZipOutput, DumpBZip2Output, DumpGZipOutput, and DumpDBZip2Output.

Definition at line 982 of file Export.php.


Member Function Documentation

Parameters:
$newnamearray
Returns:
mixed
Exceptions:
MWException

Definition at line 1027 of file Export.php.

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

Reimplemented from DumpOutput.

Reimplemented in Dump7ZipOutput, and DumpPipeOutput.

Definition at line 1042 of file Export.php.

Parameters:
$newname

Reimplemented from DumpOutput.

Reimplemented in DumpPipeOutput.

Definition at line 1008 of file Export.php.

Returns:
string|null

Reimplemented from DumpOutput.

Definition at line 1059 of file Export.php.

Parameters:
$newname
Exceptions:
MWException

Definition at line 1016 of file Export.php.

DumpFileOutput::write ( string)
Parameters:
$stringstring

Reimplemented from DumpOutput.

Definition at line 1001 of file Export.php.

Parameters:
$stringstring

Reimplemented from DumpOutput.

Reimplemented in DumpPipeOutput.

Definition at line 990 of file Export.php.


Member Data Documentation

DumpFileOutput::$filename

Reimplemented in DumpPipeOutput.

Definition at line 977 of file Export.php.

DumpFileOutput::$handle = false [protected]

Definition at line 977 of file Export.php.


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