MediaWiki  REL1_19
ImageBuilder Class Reference
Inheritance diagram for ImageBuilder:
Collaboration diagram for ImageBuilder:

List of all members.

Public Member Functions

 __construct ()
 Default constructor.
 addMissingImage ($filename, $fullpath)
 build ()
 buildImage ()
 buildOldImage ()
 buildTable ($table, $key, $callback)
 checkMissingImage ($fullpath)
 crawlMissing ()
 execute ()
 Do the actual work.
 getRepo ()
 imageCallback ($row, $copy)
 init ($count, $table)
 oldimageCallback ($row, $copy)
 progress ($updated)

Protected Attributes

 $dbw

Detailed Description

Definition at line 35 of file rebuildImages.php.


Constructor & Destructor Documentation

Default constructor.

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

Reimplemented from Maintenance.

Definition at line 42 of file rebuildImages.php.

References $wgUpdateCompatibleMetadata, and Maintenance\addOption().

Here is the call graph for this function:


Member Function Documentation

ImageBuilder::addMissingImage ( filename,
fullpath 
)

Definition at line 181 of file rebuildImages.php.

References $file, $wgContLang, getRepo(), Maintenance\output(), and wfLocalFile().

Referenced by checkMissingImage().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 80 of file rebuildImages.php.

References buildImage(), and buildOldImage().

Referenced by execute().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 138 of file rebuildImages.php.

References buildTable().

Referenced by build().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 150 of file rebuildImages.php.

References buildTable().

Referenced by build().

Here is the call graph for this function:

Here is the caller graph for this function:

ImageBuilder::buildTable ( table,
key,
callback 
)

Definition at line 120 of file rebuildImages.php.

References $count, $result, init(), Maintenance\output(), progress(), and wfGetDB().

Referenced by buildImage(), and buildOldImage().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 169 of file rebuildImages.php.

References addMissingImage(), and wfBaseName().

Here is the call graph for this function:

Definition at line 165 of file rebuildImages.php.

References getRepo().

Referenced by execute().

Here is the call graph for this function:

Here is the caller graph for this function:

Do the actual work.

All child classes will need to implement this

Reimplemented from Maintenance.

Definition at line 55 of file rebuildImages.php.

References build(), crawlMissing(), Maintenance\hasOption(), and wfGetDB().

Here is the call graph for this function:

Returns:
FileRepo

Definition at line 73 of file rebuildImages.php.

References RepoGroup\singleton().

Referenced by addMissingImage(), crawlMissing(), imageCallback(), and oldimageCallback().

Here is the call graph for this function:

Here is the caller graph for this function:

ImageBuilder::imageCallback ( row,
copy 
)

Definition at line 143 of file rebuildImages.php.

References $file, and getRepo().

Here is the call graph for this function:

ImageBuilder::init ( count,
table 
)

Definition at line 85 of file rebuildImages.php.

References $count, and wfTime().

Referenced by buildTable().

Here is the call graph for this function:

Here is the caller graph for this function:

ImageBuilder::oldimageCallback ( row,
copy 
)

Definition at line 154 of file rebuildImages.php.

References $file, getRepo(), and Maintenance\output().

Here is the call graph for this function:

ImageBuilder::progress ( updated)

Definition at line 93 of file rebuildImages.php.

References Maintenance\output(), wfTime(), and wfTimestamp().

Referenced by buildTable().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

ImageBuilder::$dbw [protected]

Definition at line 40 of file rebuildImages.php.


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