API16

API16:JPath

From Joomla! Documentation

Defined in

libraries/joomla/filesystem/path.php

Methods

Method name Description
canChmod Checks if a path's permissions can be changed
setPermissions Chmods files and directories recursivly to given permissions
getPermissions Get the permissions of the file/folder at a give path
check Checks for snooping outside of the file system root
clean Function to strip additional / or \ in a path name
isOwner Method to determine if script owns the path
find Searches the directory paths for a given file.

Importing

jimport( 'joomla.filesystem.path' );



Examples

Code Examples