JPath

API Package Subpackage Class Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage FileSystem Class JPath Reference 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.

Methods

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.