ImageCleanup Class Reference

Inherits TableCleanup.

List of all members.

Public Member Functions

 __construct ()
 Default constructor.

Protected Member Functions

 processRow ($row)

Protected Attributes

 $defaultParams

Private Member Functions

 killRow ($name)
 filePath ($name)
 imageExists ($name, $db)
 pageExists ($name, $db)
 pokeFile ($orig, $new)
 appendTitle ($name, $suffix)
 buildSafeTitle ($name)


Detailed Description

Definition at line 33 of file cleanupImages.php.


Constructor & Destructor Documentation

ImageCleanup::__construct (  ) 

Default constructor.

Children should call this if implementing their own constructors

Reimplemented from TableCleanup.

Definition at line 41 of file cleanupImages.php.


Member Function Documentation

ImageCleanup::appendTitle ( name,
suffix 
) [private]

Definition at line 183 of file cleanupImages.php.

References $name.

Referenced by pokeFile().

ImageCleanup::buildSafeTitle ( name  )  [private]

Definition at line 188 of file cleanupImages.php.

References $name, $test, $wgLegalTitleChars, Maintenance::error(), and Title::makeTitleSafe().

Referenced by processRow().

ImageCleanup::filePath ( name  )  [private]

Definition at line 103 of file cleanupImages.php.

References $name, and RepoGroup::singleton().

Referenced by pokeFile().

ImageCleanup::imageExists ( name,
db 
) [private]

Definition at line 110 of file cleanupImages.php.

References $name.

Referenced by pokeFile().

ImageCleanup::killRow ( name  )  [private]

Definition at line 91 of file cleanupImages.php.

References $name, Maintenance::output(), and wfGetDB().

Referenced by pokeFile(), and processRow().

ImageCleanup::pageExists ( name,
db 
) [private]

Definition at line 114 of file cleanupImages.php.

References $name.

Referenced by pokeFile().

ImageCleanup::pokeFile ( orig,
new 
) [private]

ImageCleanup::processRow ( row  )  [protected]


Member Data Documentation

ImageCleanup::$defaultParams [protected]

Initial value:

 array(
                'table' => 'image',
                'conds' => array(),
                'index' => 'img_name',
                'callback' => 'processRow',
        )

Reimplemented from TableCleanup.

Definition at line 34 of file cleanupImages.php.


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

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