| API | Package | Subpackage | Class | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
FileSystem |
JPath |
JPath |
Never | Work in Progress |
This is a path handling class. It provides various path related utility functions. This is a static class and so its methods are available without needing an instantiation of the class.
| Method | Description |
|---|---|
canChmod | Checks if a path’s permissions can be changed. |
check | Checks for snooping outside of the file system root. |
clean | Strips additional / or \ in a path name. |
getPermissions | Get the permissions of the file or folder at a given path. |
isOwner | Method to determine if the current script owns a given path. |
setPermissions | Changes permissions on files and directories recursively to given permissions. |