Horde_Kolab_Storage_Driver::delete PHP Method

delete() public method

Delete the specified folder.
public delete ( string $folder ) : null
$folder string The folder to delete.
return null
    public function delete($folder);

Usage Example

Example #1
0
File: Base.php Project: 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);
     }
 }
All Usage Examples Of Horde_Kolab_Storage_Driver::delete