API17

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.  
  
{{Description:JFile::move}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JFile::move|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<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/11.1|JFile]]
+
* {{JVer|11.1}} Class [[API17:JFile|JFile]]
* {{JVer|11.1}} Subpackage [[Subpackage_Filesystem/11.1|Filesystem]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Filesystem|Filesystem]]
* [[JFile::move|Other versions of JFile::move]]
+
* [[API17:JFile::move|Other versions of JFile::move]]
{{SeeAlso:JFile::move}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JFile::move|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JFile::move
 
category=JFile::move
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
Line 67: Line 63:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JFile]][[Category:JFile::move]]</noinclude>
+
<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.

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

See also[edit]


User contributed notes[edit]

Code Examples[edit]