JFile/11.1
出典: Joomla! ドキュメンテーション
Description
Methods
| Visibility | Method name | Description |
|---|---|---|
| public static | copy | Copies a file. |
| public static | delete | Delete a file or array of files. |
| public static | exists | Wrapper for the standard file_exists function. |
| public static | getExt | Gets the extension of a file name. |
| public static | getName | Returns the name, without any path. |
| public static | makeSafe | Makes file name safe to use. |
| public static | move | Moves a file. |
| public static | read | Read the contents of a file. |
| public static | stripExt | Strips the last extension off a file name. |
| public static | upload | Moves an uploaded file to a destination folder. |
| public static | write | Write contents to a file. |
- Defined in libraries/joomla/filesystem/file.php
Importing
jimport( 'joomla.filesystem.file' );
See also
JFile source code on BitBucket
Subpackage Filesystem
User contributed notes
<CodeExamplesForm />
%DPL-1.7.6-ERROR: Wrong '$0' parameter: 'namespace'! Help: $0= empty string (Main).
自動更新 2012/05/24 22:32:41
