MediaWiki  REL1_22
DumpIterator Class Reference

Base class for interating over a dump. More...

Inheritance diagram for DumpIterator:
Collaboration diagram for DumpIterator:

List of all members.

Public Member Functions

 __construct ()
 checkOptions ()
 conclusions ()
 execute ()
 finalSetup ()
 Handle some last-minute setup here.
 handleRevision ($rev)
 Callback function for each revision, child classes should override processRevision instead.
 processRevision ($rev)

Static Public Member Functions

static disableInterwikis ($prefix, &$data)

Private Attributes

 $count = 0
 $startTime

Detailed Description

Base class for interating over a dump.

Definition at line 36 of file dumpIterator.php.


Constructor & Destructor Documentation

Reimplemented from Maintenance.

Reimplemented in SearchDump, PreprocessDump, and CompareParsers.

Definition at line 41 of file dumpIterator.php.

References Maintenance\addOption().


Member Function Documentation

Reimplemented in CompareParsers, and PreprocessDump.

Definition at line 139 of file dumpIterator.php.

Referenced by execute().

Reimplemented in CompareParsers.

Definition at line 144 of file dumpIterator.php.

Referenced by execute().

static DumpIterator::disableInterwikis ( prefix,
&$  data 
) [static]

Definition at line 105 of file dumpIterator.php.

Handle some last-minute setup here.

Reimplemented from Maintenance.

Definition at line 94 of file dumpIterator.php.

References $wgHooks, Maintenance\DB_NONE, Maintenance\getDbType(), and global.

Callback function for each revision, child classes should override processRevision instead.

Parameters:
$revRevision

Definition at line 117 of file dumpIterator.php.

References $rev, $title, Maintenance\error(), from, Maintenance\output(), and processRevision().

Referenced by execute().

DumpIterator::processRevision ( rev) [abstract]

Reimplemented in SearchDump, CompareParsers, and PreprocessDump.

Referenced by handleRevision().


Member Data Documentation

DumpIterator::$count = 0 [private]

Reimplemented in CompareParsers.

Definition at line 38 of file dumpIterator.php.

DumpIterator::$startTime [private]

Definition at line 39 of file dumpIterator.php.


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