\JPath
A Path handling class
Synopsis
class JPath
{
- // methods
- public static boolean canChmod()
- public static boolean setPermissions()
- public static string getPermissions()
- public static string check()
- public static string clean()
- public static boolean isOwner()
- public static mixed find()
Methods
public
- canChmod() — Checks if a path's permissions can be changed.
- check() — Checks for snooping outside of the file system root.
- clean() — Function to strip additional / or \ in a path name.
- find() — Searches the directory paths for a given file.
- getPermissions() — Get the permissions of the file/folder at a given path.
- isOwner() — Method to determine if script owns the path.
- setPermissions() — Chmods files and directories recursively to given permissions.