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.
Exemplo n.º 1
0
 /**
  */
 public function clear()
 {
     try {
         $this->_vfs->emptyFolder($this->_params['vfspath']);
     } catch (Horde_Vfs_Exception $e) {
     }
 }