JFolder

API Package Subpackage Class Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage FileSystem Class JFolder Reference JFolder Never Work in Progress

This is a folder handling class. It provides an interface to the file system to perform various folder related functions. This is a static class and so its methods are available without needing an instantiation of the class.

Methods

Method Description
create Create a folder – and all necessary parent folders.
delete Delete a folder.
exists Wrapper for the standard file_exists function.
files Utility function to read the files in a folder.
folders Utility function to read the folders in a folder.
listFolderTree Lists folder in format suitable for tree display.
move Moves a folder.