API15

JFolder: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
No edit summary
m clean up
Line 1: Line 1:
<span class="editsection" style="font-size:76%;">
{{subst:Description:JFolder}}
<nowiki>[</nowiki>[[Description:JFolder|Edit Descripton]]<nowiki>]</nowiki>
</span>
{{Description:JFolder}}


===Defined in===
===Defined in===
Line 43: Line 40:
<source lang="php">jimport( 'joomla.filesystem.folder' );</source>
<source lang="php">jimport( 'joomla.filesystem.folder' );</source>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JFolder|Edit See Also]]<nowiki>]</nowiki>
{{subst:SeeAlso:JFolder}}
</span>
{{SeeAlso:JFolder}}


===Examples===
===Examples===

Revision as of 13:20, 24 March 2017

{{subst: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' );


{{subst:SeeAlso:JFolder}}

Examples

<CodeExamplesForm />