emptyFolder() public method

Recursively remove all files and subfolders from the given folder.
public emptyFolder ( string $path )
$path string The path of the folder to empty.
示例#1
0
文件: Vfs.php 项目: jubinpatel/horde
 /**
  */
 public function clear()
 {
     try {
         $this->_vfs->emptyFolder($this->_params['vfspath']);
     } catch (Horde_Vfs_Exception $e) {
     }
 }