Difference between revisions of "JFolder::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 folder. | Moves a folder. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<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}} '''JFolder::move source code''' on [[jplatform:filesystem/folder.php#cl-368|BitBucket]] | * {{JVer|11.1}} '''JFolder::move source code''' on [[jplatform:filesystem/folder.php#cl-368|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JFolder | + | * {{JVer|11.1}} Class [[API17:JFolder|JFolder]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Filesystem | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Filesystem|Filesystem]] |
− | * [[JFolder::move|Other versions of JFolder::move]] | + | * [[API17:JFolder::move|Other versions of JFolder::move]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JFolder::move | category=JFolder::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:03, 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.
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]