JFile/1.5
From Joomla! Documentation
< JFile(Difference between revisions)
(Layout updates) |
m (→See also: fixing link to API) |
||
| Line 62: | Line 62: | ||
<source lang="php">jimport( 'joomla.filesystem.file' );</source> | <source lang="php">jimport( 'joomla.filesystem.file' );</source> | ||
===See also=== | ===See also=== | ||
| − | * {{JVer|1.5}} '''JFile''' on [http://api.joomla.org/Joomla-Framework/ | + | * {{JVer|1.5}} '''JFile''' on [http://api.joomla.org/1.5/Joomla-Framework/FileSystem/JFile.html api.joomla.org] |
* {{JVer|1.5}} '''JFile source code''' on [[jframework15:filesystem/file.php|JoomlaCode]] | * {{JVer|1.5}} '''JFile source code''' on [[jframework15:filesystem/file.php|JoomlaCode]] | ||
* {{JVer|1.5}} Subpackage [[Subpackage Filesystem/1.5|Filesystem]] | * {{JVer|1.5}} Subpackage [[Subpackage Filesystem/1.5|Filesystem]] | ||
Latest revision as of 14:31, 13 February 2013
[edit]
JFile
[edit] Description
Description:JFile [Edit Descripton]
[edit] Methods
| Visibility | Method name | Description |
|---|---|---|
| public | copy | Copies a file. |
| public | delete | Delete a file or array of files. |
| public | exists | Wrapper for the standard file_exists function. |
| public | getExt | Gets the extension of a file name. |
| public | getName | Returns the name, sans any path. |
| public | makeSafe | Makes file name safe to use. |
| public | move | Moves a file. |
| public | read | Read the contents of a file. |
| public | stripExt | Strips the last extension off a file name. |
| public | upload | Moves an uploaded file to a destination folder. |
| public | write | Write contents to a file. |
- Defined in libraries/joomla/filesystem/file.php
[edit] Importing
jimport( 'joomla.filesystem.file' );
[edit] See also
-
JFile on api.joomla.org
-
JFile source code on JoomlaCode
-
Subpackage Filesystem
- Other versions of JFile
[edit] User contributed notes
<CodeExamplesForm />