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

Public Member Functions

 __construct (&$sink)
 
 closeAndRename ($newname, $open=false)
 
 closeRenameAndReopen ($newname)
 
 getFilenames ()
 
 pass ($page)
 Override for page-based filter types. More...
 
 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. More...
 

Protected Attributes

bool $sendingThisPage
 

Detailed Description

Definition at line 31 of file DumpFilter.php.

Constructor & Destructor Documentation

DumpFilter::__construct ( $sink)
Parameters
DumpOutput$sink

Definition at line 47 of file DumpFilter.php.

References $sink.

Member Function Documentation

DumpFilter::closeAndRename (   $newname,
  $open = false 
)
Parameters
string$newname
bool$open

Definition at line 115 of file DumpFilter.php.

DumpFilter::closeRenameAndReopen (   $newname)
Parameters
string$newname

Definition at line 107 of file DumpFilter.php.

DumpFilter::getFilenames ( )
Returns
array

Definition at line 122 of file DumpFilter.php.

DumpFilter::pass (   $page)

Override for page-based filter types.

Parameters
object$page
Returns
bool

Definition at line 131 of file DumpFilter.php.

Referenced by writeOpenPage().

DumpFilter::writeClosePage (   $string)
Parameters
string$string

Definition at line 79 of file DumpFilter.php.

DumpFilter::writeCloseStream (   $string)
Parameters
string$string

Definition at line 61 of file DumpFilter.php.

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

Definition at line 100 of file DumpFilter.php.

References $rev.

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

Definition at line 69 of file DumpFilter.php.

References $page, and pass().

DumpFilter::writeOpenStream (   $string)
Parameters
string$string

Definition at line 54 of file DumpFilter.php.

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

Definition at line 90 of file DumpFilter.php.

References $rev.

Member Data Documentation

bool DumpFilter::$sendingThisPage
protected

Definition at line 42 of file DumpFilter.php.

DumpOutput DumpFilter::$sink

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

Definition at line 37 of file DumpFilter.php.

Referenced by DumpNamespaceFilter\__construct(), __construct(), and ExportProgressFilter\__construct().


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