deleteFolder() abstract public method

WARNING: Do not use this call in case there is still data present in the folder. You are required to empty any data set *before* removing the folder. Otherwise there is no guarantee you can adhere to that Kolab specification that might require the triggering of remote systems to inform them about the removal of the folder.
abstract public deleteFolder ( string $folder ) : null
$folder string The path of the folder to delete.
return null
示例#1
0
文件: Log.php 项目: raz0rsdge/horde
 /**
  * Delete a folder.
  *
  * @param string $folder The path of the folder to delete.
  *
  * @return NULL
  */
 public function deleteFolder($folder)
 {
     $this->_logger->debug(sprintf('Deleting folder %s.', $folder));
     $result = $this->_manipulation->deleteFolder($folder);
     $this->_logger->debug(sprintf('Successfully deleted folder %s.', $folder));
 }