API15

Difference between revisions of "JFolder"

From Joomla! Documentation

(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>

Revision as of 12:36, 25 March 2010

The "API15" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

[Edit Descripton] Template:Description:JFolder

Defined in[edit]

libraries/joomla/filesystem/folder.php

Methods[edit]

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[edit]

jimport( 'joomla.filesystem.folder' );

[Edit See Also] Template:SeeAlso:JFolder

Examples[edit]

<CodeExamplesForm />