delete() 공개 메소드

Delete the specified folder.
public delete ( string $folder ) : null
$folder string The folder to delete.
리턴 null
예제 #1
0
파일: Base.php 프로젝트: horde/horde
 /**
  * Delete a folder.
  *
  * 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.
  *
  * @param string $folder The path of the folder to delete.
  *
  * @return NULL
  */
 public function deleteFolder($folder)
 {
     $this->_driver->delete($folder);
     foreach ($this->_listeners as $listener) {
         $listener->updateAfterDeleteFolder($folder);
     }
 }
예제 #2
0
파일: Base.php 프로젝트: jubinpatel/horde
 /**
  * Delete the specified folder.
  *
  * @param string $folder  The folder to delete.
  *
  * @return NULL
  */
 public function delete($folder)
 {
     $this->_driver->delete($folder);
 }