PHP Class Horde_Vfs_Gc, horde

Copyright 2003-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Michael Slusarz ([email protected])
Exibir arquivo Open project: horde/horde Class Usage Examples

Public Methods

Method Description
gc ( VFS $vfs, string $path, integer $secs = 345600 ) Garbage collect files in the VFS storage system.

Method Details

gc() public static method

Garbage collect files in the VFS storage system.
public static gc ( VFS $vfs, string $path, integer $secs = 345600 )
$vfs VFS The VFS object to perform garbage collection on.
$path string The VFS path to clean.
$secs integer The minimum amount of time (in seconds) required before a file is removed.