JPath/1.6
From Joomla! Documentation
< JPath
JPath
Description
Description:JPath [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public static | canChmod | Checks if a path's permissions can be changed. |
| public static | check | Checks for snooping outside of the file system root. |
| public static | clean | Function to strip additional / or \ in a path name. |
| public static | find | Searches the directory paths for a given file. |
| public static | getPermissions | Get the permissions of the file/folder at a give path. |
| public static | isOwner | Method to determine if script owns the path. |
| public static | setPermissions | Chmods files and directories recursivly to given permissions. |
- Defined in libraries/joomla/filesystem/path.php
Importing
jimport( 'joomla.filesystem.path' );
See also
JPath source code on JoomlaCode
Subpackage Filesystem- Other versions of JPath