gc() 공개 정적인 메소드

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.
예제 #1
0
파일: Vfs.php 프로젝트: raz0rsdge/horde
 /**
  * Perform garbage collection on the VFS path.
  *
  * @param integer $expire  Expire entries older than this value (in
  *                         seconds).
  */
 public function gc($expire)
 {
     Horde_Vfs_Gc::gc($this->_vfs, $this->_params['vfspath'], $expire);
 }
예제 #2
0
파일: Vfs.php 프로젝트: DSNS-LAB/Dmail
 /**
  */
 public function gc()
 {
     Horde_Vfs_Gc::gc($this->_vfs, $this->_vfspath, 86400);
 }