API15

API15:JPath

From Joomla! Documentation

Revision as of 22:20, 22 March 2010 by Doxiki (talk | contribs) (New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JPath}} ===Defined in=== libraries...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[Edit Descripton] Template:Description:JPath

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
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

Importing

jimport( 'joomla.filesystem.path' );

[Edit See Also] Template:SeeAlso:JPath

Examples

<CodeExamplesForm />