API17:JFolder
From Joomla! Documentation
JFolder
Description
Methods
| Visibility | Method name | Description |
|---|---|---|
| public static | copy | Copy a folder. |
| public static | create | Create a folder -- and all necessary parent folders. |
| public static | delete | Delete a folder. |
| public static | exists | Wrapper for the standard file_exists function. |
| public static | files | Utility function to read the files in a folder. |
| public static | folders | Utility function to read the folders in a folder. |
| public static | listFolderTree | Lists folder in format suitable for tree display. |
| public static | makeSafe | Makes path name safe to use. |
| public static | move | Moves a folder. |
- Defined in libraries/joomla/filesystem/folder.php
Importing
jimport( 'joomla.filesystem.folder' );
See also
JFolder source code on BitBucket
Subpackage Filesystem- Other versions of JFolder
User contributed notes
Code Examples