MediaWiki REL1_32
DumpNamespaceFilter Class Reference
Inheritance diagram for DumpNamespaceFilter:
Collaboration diagram for DumpNamespaceFilter:

Public Member Functions

 __construct (&$sink, $param)
 
 pass ( $page)
 
- Public Member Functions inherited from DumpFilter
 __construct (&$sink)
 
 closeAndRename ( $newname, $open=false)
 
 closeRenameAndReopen ( $newname)
 
 getFilenames ()
 
 writeClosePage ( $string)
 
 writeCloseStream ( $string)
 
 writeLogItem ( $rev, $string)
 
 writeOpenPage ( $page, $string)
 
 writeOpenStream ( $string)
 
 writeRevision ( $rev, $string)
 

Public Attributes

bool $invert = false
 
array $namespaces = []
 
- Public Attributes inherited from DumpFilter
DumpOutput $sink
 FIXME will need to be made protected whenever legacy code is updated.
 

Additional Inherited Members

- Protected Attributes inherited from DumpFilter
bool $sendingThisPage
 

Detailed Description

Definition at line 29 of file DumpNamespaceFilter.php.

Constructor & Destructor Documentation

◆ __construct()

DumpNamespaceFilter::__construct ( $sink,
  $param 
)

Member Function Documentation

◆ pass()

DumpNamespaceFilter::pass (   $page)
Parameters
object$page
Returns
bool

Reimplemented from DumpFilter.

Definition at line 87 of file DumpNamespaceFilter.php.

References namespaces.

Member Data Documentation

◆ $invert

bool DumpNamespaceFilter::$invert = false

Definition at line 31 of file DumpNamespaceFilter.php.

◆ $namespaces

array DumpNamespaceFilter::$namespaces = []

Definition at line 34 of file DumpNamespaceFilter.php.


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