renameFolder() abstract public method

Rename a folder.
abstract public renameFolder ( string $old, string $new ) : null
$old string The old path of the folder.
$new string The new path of the folder.
return null
示例#1
0
文件: Log.php 项目: raz0rsdge/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->_logger->debug(sprintf('Renaming folder %s.', $old));
     $result = $this->_manipulation->renameFolder($old, $new);
     $this->_logger->debug(sprintf('Successfully renamed folder %s to %s.', $old, $new));
 }