Actions

API17

Difference between revisions of "JPath"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 6: Line 6:
 
===Defined in===
 
===Defined in===
 
libraries/joomla/filesystem/path.php
 
libraries/joomla/filesystem/path.php
 +
* see source code in [[jplatform:filesystem/path.php|BitBucket]]
 
===Subpackage===
 
===Subpackage===
 
[[Subpackage Filesystem/11.1|Filesystem]]
 
[[Subpackage Filesystem/11.1|Filesystem]]
Line 41: Line 42:
 
<source lang="php">jimport( 'joomla.filesystem.path' );</source>
 
<source lang="php">jimport( 'joomla.filesystem.path' );</source>
 
===See also===
 
===See also===
 +
* JPath source code in [[jplatform:filesystem/path.php|BitBucket]]
 
* [[JPath|Other versions of this class]]
 
* [[JPath|Other versions of this class]]
 
{{SeeAlso:JPath}}
 
{{SeeAlso:JPath}}

Revision as of 18:00, 23 April 2011

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

libraries/joomla/filesystem/path.php

Subpackage

Filesystem

Extends

Extended by

Methods

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

Importing

jimport( 'joomla.filesystem.path' );

See also

SeeAlso:JPath [Edit See Also]

Examples

<CodeExamplesForm />