TableCleanup Class Reference
[Maintenance]

Inherited by CapsCleanup, ImageCleanup, TitleCleanup, and WatchlistCleanup.

List of all members.

Public Member Functions

 __construct ($table, $dryrun=false)
 cleanup ()
 init ($count, $table)
 progress ($updated)
 runTable ($table, $where, $callback)
 hexChar ($matches)
 processPage ($row)


Detailed Description

Definition at line 8 of file cleanupTable.inc.


Constructor & Destructor Documentation

TableCleanup::__construct ( table,
dryrun = false 
)

Reimplemented in CapsCleanup.

Definition at line 9 of file cleanupTable.inc.


Member Function Documentation

TableCleanup::cleanup (  ) 

Reimplemented in CapsCleanup.

Definition at line 17 of file cleanupTable.inc.

References runTable().

TableCleanup::hexChar ( matches  ) 

Definition at line 79 of file cleanupTable.inc.

TableCleanup::init ( count,
table 
)

Definition at line 28 of file cleanupTable.inc.

References $count, table, and wfTime().

Referenced by runTable().

TableCleanup::processPage ( row  )  [abstract]

TableCleanup::progress ( updated  ) 

TableCleanup::runTable ( table,
where,
callback 
)

Definition at line 63 of file cleanupTable.inc.

References $count, $result, $row, $sql, and init().

Referenced by cleanup(), and CapsCleanup::cleanup().


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

Generated on Sat Sep 5 02:08:48 2009 for MediaWiki by  doxygen 1.5.9