JFolder::copy/1.5
From Joomla! Documentation
JFolder::copy
Description
Copy a folder.
Description:JFolder::copy [Edit Descripton]
public function copy ( $src $dest $path= '' $force=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. |
- Returns mixed object on failure or boolean True on success.
- Defined on line 41 of libraries/joomla/filesystem/folder.php
- Since
- Referenced by
See also
-
JFolder::copy on api.joomla.org
-
JFolder source code on JoomlaCode
-
Class JFolder
-
Subpackage Filesystem
- Other versions of JFolder::copy
SeeAlso:JFolder::copy [Edit See Also]
User contributed notes
<CodeExamplesForm />