API15:JFolder
From Joomla! Documentation
(Difference between revisions)
(New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JFolder}}
===Defined in===
libra...) |
|||
| Line 39: | Line 39: | ||
|Makes path name safe to use. | |Makes path name safe to use. | ||
|} | |} | ||
| + | |||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.filesystem.folder' );</source> | <source lang="php">jimport( 'joomla.filesystem.folder' );</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:JFolder
Contents |
[edit] Defined in
libraries/joomla/filesystem/folder.php
[edit] Methods
| Method name | Description |
|---|---|
| copy | Copy a folder. |
| create | Create a folder -- and all necessary parent folders. |
| delete | Delete a folder. |
| move | Moves a folder. |
| exists | Wrapper for the standard file_exists function |
| files | Utility function to read the files in a folder. |
| folders | Utility function to read the folders in a folder. |
| listFolderTree | Lists folder in format suitable for tree display. |
| makeSafe | Makes path name safe to use. |
[edit] Importing
jimport( 'joomla.filesystem.folder' );
[Edit See Also] SeeAlso:JFolder
[edit] Examples
<CodeExamplesForm />
