WatchlistCleanup Class Reference

Inherits TableCleanup.

List of all members.

Public Member Functions

 __construct ()
 Default constructor.
 execute ()
 Do the actual work.

Protected Member Functions

 processRow ($row)

Protected Attributes

 $defaultParams

Private Member Functions

 removeWatch ($row)


Detailed Description

Definition at line 33 of file cleanupWatchlist.php.


Constructor & Destructor Documentation

WatchlistCleanup::__construct (  ) 

Default constructor.

Children should call this if implementing their own constructors

Reimplemented from TableCleanup.

Definition at line 41 of file cleanupWatchlist.php.

References Maintenance::addOption().


Member Function Documentation

WatchlistCleanup::execute (  ) 

Do the actual work.

All child classes will need to implement this

Reimplemented from TableCleanup.

Definition at line 47 of file cleanupWatchlist.php.

References Maintenance::hasOption(), and Maintenance::output().

WatchlistCleanup::processRow ( row  )  [protected]

WatchlistCleanup::removeWatch ( row  )  [private]

Definition at line 70 of file cleanupWatchlist.php.

References $dbw, Maintenance::hasOption(), Maintenance::output(), and wfGetDB().

Referenced by processRow().


Member Data Documentation

WatchlistCleanup::$defaultParams [protected]

Initial value:

 array(
                'table' => 'watchlist',
                'index' => array( 'wl_user', 'wl_namespace', 'wl_title' ),
                'conds' => array(),
                'callback' => 'processRow'
        )

Reimplemented from TableCleanup.

Definition at line 34 of file cleanupWatchlist.php.


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

Generated on Sat Apr 30 22:57:52 2011 for MediaWiki by  doxygen 1.5.9