API17

JFolder::copy

From Joomla! Documentation

Revision as of 21:03, 24 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Joomla 11.1 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 Joomla 11.1
  • Referenced by

See also[edit]


User contributed notes[edit]

Code Examples[edit]