JFile::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.
JFile::move[edit]
Description[edit]
Moves a file.
Template:Description:JFile::move [Edit Descripton]
Since[edit]
Synopsis[edit]
public static JFile::move ($src, $dest, $path= '', $use_streams=false)
Parameter | Type | Default | Description |
---|---|---|---|
$src | string | The path to the source file | |
$dest | string | The path to the destination file | |
$path | string | An optional base path to prefix to the file names | |
$use_streams | false |
Returns[edit]
boolean True on success
Defined in[edit]
libraries/joomla/filesystem/file.php (line 197)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Examples[edit]
<CodeExamplesForm />