API17:JFolder::move
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JFolder::move|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JFolder::move|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public static | + | public static function move ( |
| + | $src | ||
| + | $dest | ||
| + | $path= '' | ||
| + | $use_streams=false | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 34: | Line 36: | ||
|string | |string | ||
|'' | |'' | ||
| − | |An optional base path to prefix to the file names. | + | |An optional base path to prefix to the file names. |
|- | |- | ||
|$use_streams | |$use_streams | ||
| Line 42: | Line 44: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' mixed Error message on false or boolean true on success. | |
| − | mixed Error message on false or boolean true on success. | + | * '''Defined''' on line 376 of libraries/joomla/filesystem/folder.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/filesystem/folder.php | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JFolder::move source code''' on [[jplatform:filesystem/folder.php#cl-368|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JFolder/11.1|JFolder]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Filesystem/11.1|Filesystem]] | ||
| + | * [[JFolder::move|Other versions of JFolder::move]] | ||
| + | {{SeeAlso:JFolder::move}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JFolder::move|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JFolder::move|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 62: | Line 64: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JFolder]][[Category:JFolder::move]]</noinclude> | <noinclude>[[Category:JFolder]][[Category:JFolder::move]]</noinclude> | ||
Revision as of 20:58, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JFolder::move
Description
Moves a folder.
Description:JFolder::move [Edit Descripton]
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
-
JFolder::move source code on BitBucket
-
Class JFolder
-
Subpackage Filesystem
- Other versions of JFolder::move
SeeAlso:JFolder::move [Edit See Also]
User contributed notes
<CodeExamplesForm />
