MediaWiki  REL1_22
PruneFileCache Class Reference

Maintenance script that prunes file cache for pages, objects, resources, etc. More...

Inheritance diagram for PruneFileCache:
Collaboration diagram for PruneFileCache:

List of all members.

Public Member Functions

 __construct ()
 execute ()

Protected Member Functions

 prune_directory ($dir, $report=false)

Protected Attributes

 $minSurviveTimestamp

Detailed Description

Maintenance script that prunes file cache for pages, objects, resources, etc.

Definition at line 31 of file pruneFileCache.php.


Constructor & Destructor Documentation

Reimplemented from Maintenance.

Definition at line 35 of file pruneFileCache.php.

References Maintenance\addOption().


Member Function Documentation

PruneFileCache::prune_directory ( dir,
report = false 
) [protected]
Parameters:
$dirstring
$reportstring|bool Use 'report' to report the directories being scanned

Definition at line 81 of file pruneFileCache.php.

References $dir, $file, $path, and Maintenance\output().

Referenced by execute().


Member Data Documentation

PruneFileCache::$minSurviveTimestamp [protected]

Definition at line 33 of file pruneFileCache.php.


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