JFolder::copy
From Joomla! Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JFolder::copy[edit]
Description[edit]
Copy a folder.
Template:Description:JFolder::copy [Edit Descripton]
Since[edit]
Synopsis[edit]
public static JFolder::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[edit]
mixed object on failure or boolean True on success.
Defined in[edit]
libraries/joomla/filesystem/folder.php
Referenced by[edit]
See also[edit]
Template:SeeAlso:JFolder::copy
Examples[edit]
<CodeExamplesForm />