Difference between revisions of "JPath"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (User contributed notes: bad link repair)
Line 64: Line 64:
format= ,,,
format= ,,,
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JPath]]</noinclude>
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JPath]]</noinclude>

Revision as of 13:59, 29 August 2012

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.

Joomla 11.1 JPath


Description:JPath [Edit Descripton]


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


jimport( 'joomla.filesystem.path' );

See also

SeeAlso:JPath [Edit See Also]

User contributed notes

<CodeExamplesForm />