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) |
Definition at line 9 of file dumpUploads.php.
UploadDumper::__construct | ( | $ | args | ) |
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.
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 | ( | ) |
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 | ( | ) |