MediaWiki  REL1_19
DumpIterator Class Reference
Inheritance diagram for DumpIterator:
Collaboration diagram for DumpIterator:

List of all members.

Public Member Functions

 __construct ()
 Default constructor.
 checkOptions ()
 conclusions ()
 execute ()
 Do the actual work.
 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

Definition at line 30 of file dumpIterator.php.


Constructor & Destructor Documentation

Default constructor.

Children should call this *first* if implementing their own constructors

Reimplemented from Maintenance.

Reimplemented in SearchDump, PreprocessDump, and CompareParsers.

Definition at line 35 of file dumpIterator.php.

References Maintenance\addOption().

Here is the call graph for this function:


Member Function Documentation

Reimplemented in PreprocessDump, and CompareParsers.

Definition at line 131 of file dumpIterator.php.

Referenced by execute().

Here is the caller graph for this function:

Reimplemented in CompareParsers.

Definition at line 136 of file dumpIterator.php.

Referenced by execute().

Here is the caller graph for this function:

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

Definition at line 98 of file dumpIterator.php.

Do the actual work.

All child classes will need to implement this

Reimplemented from Maintenance.

Definition at line 43 of file dumpIterator.php.

References checkOptions(), conclusions(), Maintenance\error(), Maintenance\getOption(), Maintenance\getStdin(), handleRevision(), Maintenance\hasOption(), Title\newFromText(), WikiRevision\setText(), and wfTime().

Here is the call graph for this function:

Handle some last-minute setup here.

Reimplemented from Maintenance.

Definition at line 87 of file dumpIterator.php.

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

Here is the call graph for this function:

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

Parameters:
$revRevision

Definition at line 110 of file dumpIterator.php.

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

Referenced by execute().

Here is the call graph for this function:

Here is the caller graph for this function:

DumpIterator::processRevision ( rev) [abstract]

Reimplemented in SearchDump, CompareParsers, and PreprocessDump.

Referenced by handleRevision().

Here is the caller graph for this function:


Member Data Documentation

DumpIterator::$count = 0 [private]

Reimplemented in CompareParsers.

Definition at line 32 of file dumpIterator.php.

DumpIterator::$startTime [private]

Definition at line 33 of file dumpIterator.php.


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