API17:JFolder::copy
From Joomla! Documentation
JFolder::copy
Description
Copy a folder.
public static function copy (
$src
$dest
$path= ''
$force=false
$use_streams=false
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $src | string | The path to the source folder. | |
| $dest | string | The path to the destination folder. | |
| $path | string | An optional base path to prefix to the file names. | |
| $force | boolean | false | Optionally force folder/file overwrites. |
| $use_streams | false |
- Returns mixed object on failure or boolean True on success.
- Defined on line 36 of libraries/joomla/filesystem/folder.php
- Since

- Referenced by
See also
JFolder::copy source code on BitBucket
Class JFolder
Subpackage Filesystem- Other versions of JFolder::copy
User contributed notes
Code Examples