Actions

API17

Difference between revisions of "JInstaller::copyFiles"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 2: Line 2:
 
=={{JVer|11.1}} JInstaller::copyFiles==
 
=={{JVer|11.1}} JInstaller::copyFiles==
 
===Description===
 
===Description===
Copy files from source directory to the target directory.  
+
Copyfiles.  
  
 
{{Description:JInstaller::copyFiles}}
 
{{Description:JInstaller::copyFiles}}
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JInstaller::copyFiles|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JInstaller::copyFiles|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JInstaller::copyFiles ($files, $overwrite=null)
+
public function copyFiles (
 +
        $files
 +
        $overwrite=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 22: Line 22:
 
|-
 
|-
 
|$files
 
|$files
|array
 
 
|
 
|
|array with filenames
+
|
 +
|
 
|-
 
|-
 
|$overwrite
 
|$overwrite
|boolean
+
|
 
|null
 
|null
|True if existing files can be replaced
+
|
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
boolean True on success
+
* '''Defined''' on line 1317 of libraries/joomla/installer/installer.php
===Defined in===
+
libraries/joomla/installer/installer.php (line 1333)
+
* see source code in [[jplatform:installer/installer.php#cl-1333|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JInstaller::copyFiles source code''' on [[jplatform:installer/installer.php#cl-1309|BitBucket]]
 +
* {{JVer|11.1}} Class [[JInstaller/11.1|JInstaller]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Installer/11.1|Installer]]
 +
* [[JInstaller::copyFiles|Other versions of JInstaller::copyFiles]]
 +
{{SeeAlso:JInstaller::copyFiles}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JInstaller::copyFiles|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JInstaller::copyFiles|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JInstaller/11.1|JInstaller]]
+
===User contributed notes===
* [[JInstaller::copyFiles|Other versions of this method]]
+
{{SeeAlso:JInstaller::copyFiles}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: Line 51:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JInstaller]][[Category:JInstaller::copyFiles]]</noinclude>
 
<noinclude>[[Category:JInstaller]][[Category:JInstaller::copyFiles]]</noinclude>

Revision as of 21:10, 27 April 2011

Replacement filing cabinet.png
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.

Joomla 11.1 JInstaller::copyFiles

Description

Copyfiles.

Description:JInstaller::copyFiles [Edit Descripton]

public function copyFiles (
        $files
        $overwrite=null
)
Parameter Type Default Description
$files
$overwrite null
  • Returns
  • Defined on line 1317 of libraries/joomla/installer/installer.php

See also

SeeAlso:JInstaller::copyFiles [Edit See Also]

User contributed notes

<CodeExamplesForm />