API17

API17:JFile::move

From Joomla! Documentation

Joomla 11.1 JFile::move

Description

Moves a file.


public static function 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 boolean True on success
  • Defined on line 205 of libraries/joomla/filesystem/file.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples