API15:JPath
From Joomla! Documentation
(Difference between revisions)
(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 | ||
|} | |} | ||
| + | |||
===Importing=== | ===Importing=== | ||
<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
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
Contents |
[edit] Defined in
libraries/joomla/filesystem/path.php
[edit] 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 |
[edit] Importing
jimport( 'joomla.filesystem.path' );
[edit] Examples
<CodeExamplesForm />
