Actions

API17

JFile

From Joomla! Documentation

Revision as of 17:54, 23 April 2011 by Doxiki2 (Talk | contribs)

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.

[Edit Descripton] Description:JFile

Defined in

libraries/joomla/filesystem/file.php

Subpackage

Filesystem

Extends

Extended by

Methods

Method name Description
copy Copies a file.
delete Delete a file or array of files.
exists Wrapper for the standard file_exists function.
getExt Gets the extension of a file name.
getName Returns the name, without any path.
makeSafe Makes file name safe to use.
move Moves a file.
read Read the contents of a file.
stripExt Strips the last extension off a file name.
upload Moves an uploaded file to a destination folder.
write Write contents to a file.

Importing

jimport( 'joomla.filesystem.file' );

See also

SeeAlso:JFile [Edit See Also]

Examples

<CodeExamplesForm />