MediaWiki  master
DumpFilter Class Reference

Dump output filter class. More...

Inheritance diagram for DumpFilter:
Collaboration diagram for DumpFilter:

List of all members.

Public Member Functions

 __construct (&$sink)
 closeAndRename ($newname, $open=false)
 closeRenameAndReopen ($newname)
 getFilenames ()
 pass ($page)
 Override for page-based filter types.
 writeClosePage ($string)
 writeCloseStream ($string)
 writeLogItem ($rev, $string)
 writeOpenPage ($page, $string)
 writeOpenStream ($string)
 writeRevision ($rev, $string)

Public Attributes

DumpOutput $sink
 FIXME will need to be made protected whenever legacy code is updated.

Protected Attributes

bool $sendingThisPage

Detailed Description

Dump output filter class.

This just does output filtering and streaming; XML formatting is done higher up, so be careful in what you do.

Definition at line 1217 of file Export.php.


Constructor & Destructor Documentation

Parameters:
$sinkDumpOutput

Definition at line 1232 of file Export.php.


Member Function Documentation

DumpFilter::closeAndRename ( newname,
open = false 
)
Parameters:
$newnamestring
$openbool

Definition at line 1300 of file Export.php.

Parameters:
$newnamestring

Definition at line 1292 of file Export.php.

Returns:
array

Definition at line 1307 of file Export.php.

DumpFilter::pass ( page)

Override for page-based filter types.

Parameters:
$page
Returns:
bool

Reimplemented in DumpNamespaceFilter, and DumpNotalkFilter.

Definition at line 1316 of file Export.php.

Parameters:
$stringstring

Reimplemented in DumpLatestFilter, and ExportProgressFilter.

Definition at line 1264 of file Export.php.

Parameters:
$stringstring

Definition at line 1246 of file Export.php.

DumpFilter::writeLogItem ( rev,
string 
)
Parameters:
$rev
$stringstring

Definition at line 1285 of file Export.php.

DumpFilter::writeOpenPage ( page,
string 
)
Parameters:
$page
$stringstring

Reimplemented in DumpLatestFilter.

Definition at line 1254 of file Export.php.

Parameters:
$stringstring

Definition at line 1239 of file Export.php.

DumpFilter::writeRevision ( rev,
string 
)
Parameters:
$rev
$stringstring

Reimplemented in DumpLatestFilter, and ExportProgressFilter.

Definition at line 1275 of file Export.php.


Member Data Documentation

bool DumpFilter::$sendingThisPage [protected]

Definition at line 1227 of file Export.php.

DumpOutput DumpFilter::$sink

FIXME will need to be made protected whenever legacy code is updated.

Definition at line 1223 of file Export.php.

Referenced by ExportProgressFilter\__construct().


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