Horde_Kolab_Storage_Driver::rename PHP Method

rename() public method

Rename the specified folder.
public rename ( string $old, string $new ) : null
$old string The folder to rename.
$new string The new name of the folder.
return null
    public function rename($old, $new);

Usage Example

Example #1
0
File: Base.php Project: horde/horde
 /**
  * Rename a folder.
  *
  * @param string $old The old path of the folder.
  * @param string $new The new path of the folder.
  *
  * @return NULL
  */
 public function renameFolder($old, $new)
 {
     $this->_driver->rename($old, $new);
     foreach ($this->_listeners as $listener) {
         $listener->updateAfterRenameFolder($old, $new);
     }
 }
All Usage Examples Of Horde_Kolab_Storage_Driver::rename