UploadDumper Class Reference

List of all members.

Public Member Functions

 __construct ($args)
 run ()
 help ()
 fetchUsed ($shared)
 Fetch a list of all or used images from a particular image source.
 fetchLocal ($shared)
 outputItem ($name, $shared)
 filterItem ($file, $shared)


Detailed Description

Definition at line 9 of file dumpUploads.php.


Constructor & Destructor Documentation

UploadDumper::__construct ( args  ) 

Definition at line 10 of file dumpUploads.php.

References $args, $IP, and $wgUseSharedUploads.


Member Function Documentation

UploadDumper::fetchLocal ( shared  ) 

Definition at line 93 of file dumpUploads.php.

References $dbr, $result, $row, $shared, outputItem(), and wfGetDB().

UploadDumper::fetchUsed ( shared  ) 

Fetch a list of all or used images from a particular image source.

Parameters:
string $table
string $directory Base directory where files are located
bool $shared true to pass shared-dir settings to hash func

Definition at line 76 of file dumpUploads.php.

References $dbr, $result, $row, $shared, $sql, outputItem(), and wfGetDB().

Referenced by run().

UploadDumper::filterItem ( file,
shared 
)

Definition at line 117 of file dumpUploads.php.

References $file, and $shared.

Referenced by outputItem().

UploadDumper::help (  ) 

Definition at line 51 of file dumpUploads.php.

References $wgUploadDirectory, dumpUploads, and END.

UploadDumper::outputItem ( name,
shared 
)

Definition at line 106 of file dumpUploads.php.

References $file, $filename, $name, $shared, filterItem(), wfDebug(), wfFindFile(), and wfRelativePath().

Referenced by fetchLocal(), and fetchUsed().

UploadDumper::run (  ) 

Definition at line 44 of file dumpUploads.php.

References fetchUsed().


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

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