Difference between revisions of "JPath"

From Joomla! Documentation

(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JPath}} ===Defined in=== libraries...)
Line 33: Line 33:
|Method to determine if script owns the path
|Method to determine if script owns the path
<source lang="php">jimport( 'joomla.filesystem.path' );</source>
<source lang="php">jimport( 'joomla.filesystem.path' );</source>

Latest revision as of 12:36, 25 March 2010

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

[Edit Descripton] Description:JPath

Defined in



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
find Searches the directory paths for a given file.
clean Function to strip additional / or \ in a path name
isOwner Method to determine if script owns the path


jimport( 'joomla.filesystem.path' );

[Edit See Also] SeeAlso:JPath


<CodeExamplesForm />