API17

Difference between revisions of "JFolder::move"

From Joomla! Documentation

m (clean up)
m (preparing for archive only)
 
Line 4: Line 4:
 
Moves a folder.  
 
Moves a folder.  
  
{{subst:Description:JFolder::move}}
+
 
  
 
<source lang="php">
 
<source lang="php">
Line 50: Line 50:
 
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Filesystem|Filesystem]]
 
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Filesystem|Filesystem]]
 
* [[API17:JFolder::move|Other versions of JFolder::move]]
 
* [[API17:JFolder::move|Other versions of JFolder::move]]
{{subst:SeeAlso:JFolder::move}}
+
 
  
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JFolder::move
 
category=JFolder::move
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*

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.

Joomla 11.1 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 Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]