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, $copy)
 buildOldImage ()
 oldimageCallback ($row, $copy)
 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 $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 $fname, $result, init(), and progress().

Referenced by buildImage(), and buildOldImage().

ImageBuilder::checkMissingImage ( fullpath  ) 

Definition at line 151 of file rebuildImages.php.

References $filename, $fname, 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.

ImageBuilder::imageCallback ( row,
copy 
)

Definition at line 123 of file rebuildImages.php.

References getRepo().

ImageBuilder::init ( count,
table 
)

Definition at line 61 of file rebuildImages.php.

References wfTime().

Referenced by buildTable().

ImageBuilder::oldimageCallback ( row,
copy 
)

Definition at line 135 of file rebuildImages.php.

References getRepo().

ImageBuilder::progress ( updated  ) 

Definition at line 69 of file rebuildImages.php.

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

Referenced by buildTable().


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