JFolder::move
From Joomla! Documentation
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::move[edit]
Description[edit]
Moves a folder.
public static function move (
$src
$dest
$path= ''
$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. | |
$use_streams | false |
- Returns mixed Error message on false or boolean true on success.
- Defined on line 376 of libraries/joomla/filesystem/folder.php
- Since
See also[edit]
- JFolder::move source code on BitBucket
- Class JFolder
- Subpackage Filesystem
- Other versions of JFolder::move
User contributed notes[edit]
Code Examples[edit]