MediaWiki  REL1_20
DeleteImageCache Class Reference

Maintenance script that deletes image information from the object cache. More...

Inheritance diagram for DeleteImageCache:
Collaboration diagram for DeleteImageCache:

List of all members.

Public Member Functions

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

Private Member Functions

 getImageCount ()

Detailed Description

Maintenance script that deletes image information from the object cache.

Definition at line 34 of file deleteImageMemcached.php.


Constructor & Destructor Documentation

Default constructor.

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

Reimplemented from Maintenance.

Definition at line 35 of file deleteImageMemcached.php.

References Maintenance\addOption().


Member Function Documentation

Do the actual work.

All child classes will need to implement this

Reimplemented from Maintenance.

Definition at line 42 of file deleteImageMemcached.php.

References $dbr, $res, $sleep, $total, $wgMemc, getImageCount(), Maintenance\getOption(), Maintenance\output(), wfGetDB(), wfMemcKey(), wfPercent(), and wfWikiID().

Definition at line 74 of file deleteImageMemcached.php.

References $dbr, and wfGetDB().

Referenced by execute().


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