JFolder
From Joomla! Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.
JFolder[edit]
Description[edit]
Methods[edit]
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[edit]
jimport( 'joomla.filesystem.folder' );
See also[edit]
- JFolder source code on BitBucket
- Subpackage Filesystem
- Other versions of JFolder
User contributed notes[edit]
Code Examples[edit]