API15

JFolder: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JFolder}} ===Defined in=== libra...
 
Doxiki (talk | contribs)
No edit summary
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>

Revision as of 17:36, 25 March 2010

[Edit Descripton] Template:Description:JFolder

Defined in

libraries/joomla/filesystem/folder.php

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.

Importing

jimport( 'joomla.filesystem.folder' );

[Edit See Also] Template:SeeAlso:JFolder

Examples

<CodeExamplesForm />