JPath
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
[Edit Descripton] Template:Description:JPath
Defined in[edit]
libraries/joomla/filesystem/path.php
- see source code in BitBucket
Subpackage[edit]
Extends[edit]
Extended by[edit]
Methods[edit]
Method name | Description |
---|---|
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 give path. |
isOwner | Method to determine if script owns the path. |
setPermissions | Chmods files and directories recursivly to given permissions. |
Importing[edit]
jimport( 'joomla.filesystem.path' );
See also[edit]
- JPath source code in BitBucket
- Other versions of this class
Template:SeeAlso:JPath [Edit See Also]
Examples[edit]
<CodeExamplesForm />