Actions

API17

Difference between revisions of "JFolder::copy"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 50: Line 50:
 
mixed  object on failure or boolean True on success.
 
mixed  object on failure or boolean True on success.
 
===Defined in===
 
===Defined in===
libraries/joomla/filesystem/folder.php
+
libraries/joomla/filesystem/folder.php (line 35)
 +
* see source code in [[jplatform:filesystem/folder.php#cl-35|BitBucket]]
 
===Referenced by===
 
===Referenced by===
* [[JInstaller/copyFiles/11.1|JInstaller::copyFiles]]
+
* [[JInstaller::copyFiles/11.1|JInstaller::copyFiles]]
 
===See also===
 
===See also===
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">

Revision as of 20:32, 23 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JFolder::copy

Description

Copy a folder.

Description:JFolder::copy [Edit Descripton]

Since

Joomla 11.1

Synopsis

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

mixed object on failure or boolean True on success.

Defined in

libraries/joomla/filesystem/folder.php (line 35)

Referenced by

See also

[Edit See Also]

SeeAlso:JFolder::copy

Examples

<CodeExamplesForm />