MediaWiki
REL1_35
ExportProgressFilter.php
Go to the documentation of this file.
1
<?php
27
class
ExportProgressFilter
extends
DumpFilter
{
31
private
$progress
;
32
37
public
function
__construct
( &
$sink
, &
$progress
) {
38
parent::__construct(
$sink
);
39
$this->progress =
$progress
;
40
}
41
42
public
function
writeClosePage
( $string ) {
43
parent::writeClosePage( $string );
44
$this->progress->reportPage();
45
}
46
47
public
function
writeRevision
( $rev, $string ) {
48
parent::writeRevision( $rev, $string );
49
$this->progress->revCount();
50
}
51
}
BackupDumper
Definition
BackupDumper.php:39
DumpFilter
Definition
DumpFilter.php:31
DumpFilter\$sink
DumpOutput $sink
FIXME will need to be made protected whenever legacy code is updated.
Definition
DumpFilter.php:37
ExportProgressFilter
Definition
ExportProgressFilter.php:27
ExportProgressFilter\__construct
__construct(&$sink, &$progress)
Definition
ExportProgressFilter.php:37
ExportProgressFilter\$progress
BackupDumper $progress
Definition
ExportProgressFilter.php:31
ExportProgressFilter\writeClosePage
writeClosePage( $string)
Definition
ExportProgressFilter.php:42
ExportProgressFilter\writeRevision
writeRevision( $rev, $string)
Definition
ExportProgressFilter.php:47
includes
export
ExportProgressFilter.php
Generated on Sat Apr 6 2024 00:07:08 for MediaWiki by
1.9.8