Difference between revisions of "JFile::move"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Moves a file. | Moves a file. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public static function move ( | public static function move ( | ||
Line 49: | Line 47: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JFile::move source code''' on [[jplatform:filesystem/file.php#cl-197|BitBucket]] | * {{JVer|11.1}} '''JFile::move source code''' on [[jplatform:filesystem/file.php#cl-197|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JFile | + | * {{JVer|11.1}} Class [[API17:JFile|JFile]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Filesystem | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Filesystem|Filesystem]] |
− | * [[JFile::move|Other versions of JFile::move]] | + | * [[API17:JFile::move|Other versions of JFile::move]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JFile::move | category=JFile::move | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 67: | Line 63: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:01, 24 March 2017
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.
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 |
See also[edit]
- JFile::move source code on BitBucket
- Class JFile
- Subpackage Filesystem
- Other versions of JFile::move
User contributed notes[edit]
Code Examples[edit]