Horde_Vfs_Base::_copyRecursive PHP Метод

_copyRecursive() защищенный Метод

Recursively copies a directory through the backend.
protected _copyRecursive ( string $path, string $name, string $dest )
$path string The path of the original file.
$name string The name of the original file.
$dest string The name of the destination directory.
    protected function _copyRecursive($path, $name, $dest)
    {
        $this->createFolder($dest, $name);
        $file_list = $this->listFolder($this->_getPath($path, $name));
        foreach ($file_list as $file) {
            $this->copy($this->_getPath($path, $name), $file['name'], $this->_getPath($dest, $name));
        }
    }