MediaWiki  1.34.0
ExportProgressFilter Class Reference
Inheritance diagram for ExportProgressFilter:
Collaboration diagram for ExportProgressFilter:

Public Member Functions

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

Private Attributes

BackupDumper $progress
 

Additional Inherited Members

- Public Attributes inherited from DumpFilter
DumpOutput $sink
 FIXME will need to be made protected whenever legacy code is updated. More...
 
- Protected Member Functions inherited from DumpFilter
 pass ( $page)
 Override for page-based filter types. More...
 
- Protected Attributes inherited from DumpFilter
bool $sendingThisPage
 

Detailed Description

Definition at line 27 of file ExportProgressFilter.php.

Constructor & Destructor Documentation

◆ __construct()

ExportProgressFilter::__construct ( $sink,
$progress 
)
Parameters
DumpOutput&$sink
BackupDumper&$progress

Definition at line 37 of file ExportProgressFilter.php.

References $progress, and DumpFilter\$sink.

Member Function Documentation

◆ writeClosePage()

ExportProgressFilter::writeClosePage (   $string)
Parameters
string$string

Reimplemented from DumpFilter.

Definition at line 42 of file ExportProgressFilter.php.

◆ writeRevision()

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

Reimplemented from DumpFilter.

Definition at line 47 of file ExportProgressFilter.php.

Member Data Documentation

◆ $progress

BackupDumper ExportProgressFilter::$progress
private

Definition at line 31 of file ExportProgressFilter.php.

Referenced by __construct().


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