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

List of all members.

Public Member Functions

 __construct ()
 Default constructor.
 execute ()
 Do the actual work.
 getConditions ($dbw)
 setupParameters ($force, $brokenOnly)

Protected Attributes

 $dbw

Detailed Description

Definition at line 32 of file refreshImageMetadata.php.


Constructor & Destructor Documentation

Default constructor.

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

Reimplemented from Maintenance.

Definition at line 39 of file refreshImageMetadata.php.

References Maintenance\addOption(), and Maintenance\setBatchSize().

Here is the call graph for this function:


Member Function Documentation

Do the actual work.

All child classes will need to implement this

Reimplemented from Maintenance.

Definition at line 56 of file refreshImageMetadata.php.

References $dbw, $file, $options, $res, $total, $verbose, Maintenance\error(), getConditions(), Maintenance\getOption(), Maintenance\hasOption(), Maintenance\output(), setupParameters(), RepoGroup\singleton(), wfGetDB(), and wfWaitForSlaves().

Here is the call graph for this function:

Parameters:
$dbwDatabaseBase
Returns:
array

Definition at line 163 of file refreshImageMetadata.php.

References $dbw, $mime, Maintenance\getOption(), and File\splitMime().

Referenced by execute().

Here is the call graph for this function:

Here is the caller graph for this function:

RefreshImageMetadata::setupParameters ( force,
brokenOnly 
)
Parameters:
$forcebool
$brokenOnlybool

Definition at line 190 of file refreshImageMetadata.php.

References $wgUpdateCompatibleMetadata, and Maintenance\error().

Referenced by execute().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

RefreshImageMetadata::$dbw [protected]

Definition at line 37 of file refreshImageMetadata.php.

Referenced by execute(), and getConditions().


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