JPath/1.5
From Joomla! Documentation
< JPath(Difference between revisions)
(Layout updates) |
m (→See also: fixing link to API) |
||
| Line 46: | Line 46: | ||
<source lang="php">jimport( 'joomla.filesystem.path' );</source> | <source lang="php">jimport( 'joomla.filesystem.path' );</source> | ||
===See also=== | ===See also=== | ||
| − | * {{JVer|1.5}} '''JPath''' on [http://api.joomla.org/Joomla-Framework/ | + | * {{JVer|1.5}} '''JPath''' on [http://api.joomla.org/1.5/Joomla-Framework/FileSystem/JPath.html api.joomla.org] |
* {{JVer|1.5}} '''JPath source code''' on [[jframework15:filesystem/path.php|JoomlaCode]] | * {{JVer|1.5}} '''JPath source code''' on [[jframework15:filesystem/path.php|JoomlaCode]] | ||
* {{JVer|1.5}} Subpackage [[Subpackage Filesystem/1.5|Filesystem]] | * {{JVer|1.5}} Subpackage [[Subpackage Filesystem/1.5|Filesystem]] | ||
Latest revision as of 16:04, 13 February 2013
[edit]
JPath
[edit] Description
Description:JPath [Edit Descripton]
[edit] Methods
| Visibility | Method name | Description |
|---|---|---|
| public | canChmod | Checks if a path's permissions can be changed. |
| public | check | Checks for snooping outside of the file system root. |
| public | find | Searches the directory paths for a given file. |
| public | getPermissions | Get the permissions of the file/folder at a give path. |
| public | setPermissions | Chmods files and directories recursivly to given permissions. |
| public | clean | Function to strip additional / or \ in a path name. |
| public | isOwner | Method to determine if script owns the path. |
- Defined in libraries/joomla/filesystem/path.php
[edit] Importing
jimport( 'joomla.filesystem.path' );
[edit] See also
-
JPath on api.joomla.org
-
JPath source code on JoomlaCode
-
Subpackage Filesystem
- Other versions of JPath
[edit] User contributed notes
<CodeExamplesForm />