API17

JFile::copy

From Joomla! Documentation

Revision as of 18:31, 20 April 2011 by Doxiki2 (talk | contribs) (Bulk upload by Doxiki2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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::copy[edit]

Description[edit]

Copies a file.

Template:Description:JFile::copy [Edit Descripton]

Since[edit]

Joomla 11.1

Synopsis[edit]

public static JFile::copy ($src, $dest, $path=null, $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 null An optional base path to prefix to the file names
$use_streams false

Returns[edit]

boolean True on success

Defined in[edit]

libraries/joomla/filesystem/file.php

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JFile::copy

Examples[edit]

<CodeExamplesForm />