Difference between revisions of "JFolder::copy"
From Joomla! Documentation
m (JoomlaWikiBot moved page JFolder::copy/11.1 to API17:JFolder::copy without leaving a redirect: Robot: Moved page) |
m (preparing for archive only) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Copy a folder. | Copy a folder. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public static function copy ( | public static function copy ( | ||
Line 54: | Line 52: | ||
* '''Since''' {{JVer|11.1 }} | * '''Since''' {{JVer|11.1 }} | ||
* '''Referenced by''' | * '''Referenced by''' | ||
− | ** [[JInstaller::copyFiles | + | ** [[API17:JInstaller::copyFiles|JInstaller::copyFiles]] |
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JFolder::copy source code''' on [[jplatform:filesystem/folder.php#cl-28|BitBucket]] | * {{JVer|11.1}} '''JFolder::copy source code''' on [[jplatform:filesystem/folder.php#cl-28|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JFolder | + | * {{JVer|11.1}} Class [[API17:JFolder|JFolder]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Filesystem | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Filesystem|Filesystem]] |
− | * [[JFolder::copy|Other versions of JFolder::copy]] | + | * [[API17:JFolder::copy|Other versions of JFolder::copy]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JFolder::copy | category=JFolder::copy | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 75: | Line 71: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:03, 24 March 2017
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.
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[edit]
- JFolder::copy source code on BitBucket
- Class JFolder
- Subpackage Filesystem
- Other versions of JFolder::copy
User contributed notes[edit]
Code Examples[edit]