API16

JFolder

From Joomla! Documentation

The "API16" 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.

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.
listFolderTree Lists folder in format suitable for tree display.
makeSafe Makes path name safe to use.
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.

Importing[edit]

jimport( 'joomla.filesystem.folder' );



Examples[edit]

Code Examples[edit]