\JFolder
A Folder handling class
Synopsis
class JFolder
{
- // methods
- public static boolean copy()
- public static boolean create()
- public static boolean delete()
- public static mixed move()
- public static boolean exists()
- public static array files()
- public static array folders()
- protected static array _items()
- public static array listFolderTree()
- public static string makeSafe()
Methods
protected
- _items() — Function to read the files/folders in a folder.
public
- copy() — Copy a folder.
- 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.
- makeSafe() — Makes path name safe to use.
- move() — Moves a folder.