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


Copy a folder.

Description:JFolder::copy [Edit Descripton]

public static function copy (
        $path= ''
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 Joomla 11.1
  • Referenced by

See also

SeeAlso:JFolder::copy [Edit See Also]

User contributed notes

<CodeExamplesForm />