ImageBuilder Class Reference

List of all members.

Public Member Functions

 ImageBuilder ($dryrun=false)
 getRepo ()
 build ()
 init ($count, $table)
 progress ($updated)
 buildTable ($table, $key, $callback)
 buildImage ()
 imageCallback ($row)
 buildOldImage ()
 oldimageCallback ($row)
 crawlMissing ()
 checkMissingImage ($fullpath)
 addMissingImage ($filename, $fullpath)


Detailed Description

Definition at line 38 of file rebuildImages.php.


Member Function Documentation

ImageBuilder::addMissingImage ( filename,
fullpath 
)

Definition at line 174 of file rebuildImages.php.

References $file, $filename, $fname, $wgContLang, and wfLocalFile().

Referenced by checkMissingImage().

ImageBuilder::build (  ) 

Definition at line 56 of file rebuildImages.php.

References buildImage(), and buildOldImage().

ImageBuilder::buildImage (  ) 

Definition at line 118 of file rebuildImages.php.

References buildTable().

Referenced by build().

ImageBuilder::buildOldImage (  ) 

Definition at line 130 of file rebuildImages.php.

References buildTable().

Referenced by build().

ImageBuilder::buildTable ( table,
key,
callback 
)

Definition at line 95 of file rebuildImages.php.

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

Referenced by buildImage(), and buildOldImage().

ImageBuilder::checkMissingImage ( fullpath  ) 

Definition at line 151 of file rebuildImages.php.

References $filename, $fname, $row, addMissingImage(), and wfBaseName().

ImageBuilder::crawlMissing (  ) 

Definition at line 146 of file rebuildImages.php.

References RepoGroup::singleton().

ImageBuilder::getRepo (  ) 

Definition at line 49 of file rebuildImages.php.

References RepoGroup::singleton().

Referenced by imageCallback(), and oldimageCallback().

ImageBuilder::ImageBuilder ( dryrun = false  ) 

Definition at line 39 of file rebuildImages.php.

References $GLOBALS.

ImageBuilder::imageCallback ( row  ) 

Definition at line 123 of file rebuildImages.php.

References $file, $row, and getRepo().

ImageBuilder::init ( count,
table 
)

Definition at line 61 of file rebuildImages.php.

References $count, table, and wfTime().

Referenced by buildTable().

ImageBuilder::oldimageCallback ( row  ) 

Definition at line 135 of file rebuildImages.php.

References $file, $row, and getRepo().

ImageBuilder::progress ( updated  ) 

Definition at line 69 of file rebuildImages.php.

References printf(), table, wfTime(), and wfTimestamp().

Referenced by buildTable().


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

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